add namespaces to names
This commit is contained in:
@@ -101,9 +101,7 @@ foo a b = ?
|
||||
|
||||
-- We can define native types, if the type is left off, it defaults to U
|
||||
|
||||
ptype Int : U
|
||||
ptype String : U
|
||||
ptype Char : U
|
||||
ptype SomePrimType : U
|
||||
|
||||
-- The names of these three types are special, primitive numbers, strings,
|
||||
-- and characters inhabit them, respectively. We can match on primitives, but
|
||||
|
||||
@@ -51,7 +51,7 @@ infixr 1 _,_
|
||||
data Pair : U -> U -> U where
|
||||
_,_ : ∀ A B. A -> B -> Pair A B
|
||||
|
||||
ptype Int
|
||||
|
||||
|
||||
test : Maybe Int
|
||||
test = pure 10
|
||||
|
||||
Reference in New Issue
Block a user