Commit 51048c97 authored by Mart Lubbers's avatar Mart Lubbers Committed by Camil Staps

Process reviews

parent 4935dd91
...@@ -464,13 +464,15 @@ bs_module = (["module", "definition", "implementation", "system", "definition mo ...@@ -464,13 +464,15 @@ bs_module = (["module", "definition", "implementation", "system", "definition mo
] ]
}) })
bs_pattern_named = (["=:"], bs_pattern_newtype = (["=:"],
{ syntax_title = "newtype definition (experimental)" { syntax_title = "Newtype definition (experimental)"
, syntax_code = [":: ... =: T c"] , syntax_code = [":: ... =: ..."]
, syntax_description = "Define a newtype, a newtype is a type synonym that is treated as a real type." , syntax_description = "A newtype is a type synonym at runtime but treated as a real type at compiletime.\n"
+ "This allows the creation of instances and speeds the program up."
, syntax_doc_locations = [] , syntax_doc_locations = []
, syntax_examples = , syntax_examples =
[ EX "Function" ":: T = T Int" [ EX "TypeDef" ":: T =: T Int"
[ EX "TypeDef" ":: T a =: T a"
] ]
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment