Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-compiler-and-rts
compiler
Commits
dea82d2a
Commit
dea82d2a
authored
Apr 03, 2014
by
John van Groningen
Browse files
add unit type (print type as ())
parent
1426b396
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/typesupport.icl
View file @
dea82d2a
...
...
@@ -1294,6 +1294,8 @@ writeTypeTA file opt_beautifulizer form {type_ident,type_index,type_arity} types
|
type_arity
==
0
|
predef_index
==
PD_StringType
=
(
file
<<<
"String"
,
opt_beautifulizer
)
|
predef_index
==
PD_UnitType
=
(
file
<<<
"()"
,
opt_beautifulizer
)
=
(
file
<<<
type_ident
,
opt_beautifulizer
)
|
predef_index
==
PD_ListType
=
writeWithinBrackets
"["
"]"
file
opt_beautifulizer
(
setProperty
form
cCommaSeparator
,
types
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment