12 pointsposted 3 months ago
by tablets

Item id: 45792012

3 Comments

PhilipRoman

3 months ago

The website seems to be just AI filler, I guess this is the real GitHub repo: https://github.com/am-kantox/cure-lang

I was curious about the examples but this does not seem promising...

  def sort(list: List(T)): List(T) where Ord(T) =
      match list do
          [] -> []
          [pivot | rest] -> sort(rest)
      end