verve-lang icon indicating copy to clipboard operation
verve-lang copied to clipboard

A functional language for the working hacker

Results 4 verve-lang issues
Sort by recently updated
recently updated
newest added

```rust enum Nat { Z S(Nat) } fn even(x: Nat) -> Bool { match x { case Z: True case S(y): odd(y) } } fn odd(x: Nat) -> Bool {...

Attempting to generalize the maybe type in the tests, I found two issues: ``` verve type maybe { Just(type) None() } implementation printable { fn to_string(a) { match a {...

bug

So far, the best I could come up with was the following ``` cpp // Printable t, List t interface PrintableList { virtual printList(List): Void virtual printNumericList(List): Void } ```

proposal