File: ProvideType.smi

package info (click to toggle)
smlsharp 4.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 123,732 kB
  • sloc: ansic: 16,725; sh: 4,347; makefile: 2,191; java: 742; haskell: 493; ruby: 305; cpp: 284; pascal: 256; ml: 255; lisp: 141; asm: 97; sql: 74
file content (36 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
_require "basis.smi"

type i = int
type i8 = int8
type i16 = int16
type i32 = int32
type i64 = int64
type iInf = intInf

type w = word
type w8 = word8
type w16 = word16
type w32 = word32
type w64 = word64

type r = real
type r32 = real32
type c = char
type s = string
type b = bool


type ref1 = int ref
type tuple1 = int * string
type tuple2 = {1:int, 2:string}
type record1 = {A:int, B:string}
type list1 = int list
type 'a list2 = 'a list

type 'a f1 = 'a -> 'a
type f2 = int -> int
type f3 = word -> word
type ('a, 'b) f4 = 'a -> 'b

type t1 = int
type t2 (= t1)