Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-libraries
Commits
45552cd2
Verified
Commit
45552cd2
authored
Sep 04, 2020
by
Camil Staps
Browse files
GraphCopy: add cases for builtin maybe descriptors to make_symbol_name
parent
d647f18d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Libraries/graph_copy/graph_copy_with_names.icl
View file @
45552cd2
...
...
@@ -339,6 +339,24 @@ make_symbol_name "_system" descriptor_name prefix
->
"__Consfts"
;
"[#{}]"
->
"__Consa"
;
"?None"
->
"__Nothing"
;
"?Just"
->
"__Justs"
;
"?^Just"
->
"__Just"
;
"?#JustInt"
->
"__Justi"
;
"?#JustReal"
->
"__Justr"
;
"?#JustChar"
->
"__Justc"
;
"?#JustBool"
->
"__Justb"
;
"?#JustFile"
->
"__Justf"
;
"?#Just{}"
->
"__Justa"
;
"AP"
->
"e__system__"
+++
prefix_char
prefix
+++
descriptor_name
;
"_ind"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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