mamba 0.3.6

A transpiler which converts Mamba files to Python 3 files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
class MyErr1: Exception("Something went wrong")
class MyErr2(msg: Str): Exception(msg)

def f(x: Int) -> Int raise [MyErr1, MyErr2] => x

def a := f(10) handle
    _ : MyErr1 =>
        print("Something went wrong")
        -1
    _: MyErr2 =>
        print("Something else went wrong")
        -2