Re:Luna – Visual and textual functional programming language
by shalabhc on Thursday June 22, 2017 @04:37PM
(#14615149)
1 also belongs to 'all integers from 1 through 10'. Is this also a category? (I assume yes). How is this category expressed in Luna?
[ Parent
| on HN ]
Re:Luna – Visual and textual functional programming language
by wdanilo on Thursday June 22, 2017 @05:36PM
(#14615533)
Yes it is, `1 :: 1 | .. | 10`. The pipe combines categories, so you can as well write `1 :: 1|2|3|4|5|6|7|8|9|10`. Both of the forms are however not yet supported in the main branch of official compiler and will not be supported during the first release yet.