News for hackers. Stuff that matters.
Re:Tamgu, a functional, imperative, logical programming lang... by clauderoux on Thursday July 25, 2019 @05:38AM (#20523949)
Tamgu offers something very similar to that. I borrowed a lot of elements from Haskell, including data management but also declarations. In Tamgu functional elements are enclosed in <..>

In this example, I implement a join that takes a vector and transforms it into a string.

//type declaration

<joining:: vector -> string>

//The function itself

<joining(v) = x | x <- v>

println(joining(['a'..'z']));

There are no comments on this comment yet.