LightAndLight / ipso

A functional scripting language.
https://ipso.dev
16 stars 1 forks source link

`array.first, array.last : Array a -> (| Some : a, None : () |)` #376

Closed LightAndLight closed 1 year ago

LightAndLight commented 1 year ago

I want to write this code:

case array.last <| string.partsc '.' input of
  Some part -> ...
  None -> ...
LightAndLight commented 1 year ago

Closed in #408