You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in rust and other languages, have support for enumerations. which allows for creating types that
must match some planned types.
some syntax suggestions
no extra data -- nil or unit value
not sure what might be used other wise.
``
(defenum months [ january nil
febuary nil
march nil
april nil ]
;dont know what you guys use for generics
(defenum option [ Some T
None nil ]
``
The text was updated successfully, but these errors were encountered:
in rust and other languages, have support for enumerations. which allows for creating types that
must match some planned types.
some syntax suggestions
no extra data -- nil or unit value
not sure what might be used other wise.
``
(defenum months [ january nil
febuary nil
march nil
april nil ]
;dont know what you guys use for generics
(defenum option [ Some T
None nil ]
``
The text was updated successfully, but these errors were encountered: