futurescript icon indicating copy to clipboard operation
futurescript copied to clipboard

Allows function names with postfix ? or !

Open kristianmandrup opened this issue 8 years ago • 0 comments

Use ? to indicate function returning boolean

admin?: x -> x.role = 'admin'
admin? user

Use ! to indicate function with side effect

write-user!: user -> 
  write-file user

write-user! current-user

kristianmandrup avatar Mar 06 '17 20:03 kristianmandrup