LightAndLight / ipso

A functional scripting language.

Home Page:https://ipso.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

LightAndLight opened this issue · comments

I want to write this code:

case array.last <| string.partsc '.' input of
  Some part -> ...
  None -> ...

Closed in #408