diff options
author | Camil Staps | 2018-04-03 20:06:13 +0200 |
---|---|---|
committer | Camil Staps | 2018-04-03 20:06:13 +0200 |
commit | b5917471efab37e60949b380a24ecc35e2946203 (patch) | |
tree | e1359698e10bad08ac2c32e625d062ba8773b83f /examples/int.fusp | |
parent | Beautify Makefile (diff) |
Extend examples
Diffstat (limited to 'examples/int.fusp')
-rw-r--r-- | examples/int.fusp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/int.fusp b/examples/int.fusp index fe1e32d..b6ed1ac 100644 --- a/examples/int.fusp +++ b/examples/int.fusp @@ -8,3 +8,6 @@ gt a b = code gt a b; le a b = code le a b; lt a b = code lt a b; ne a b = code ne a b; + +pow _ 0 = 1; +pow x n = mul x (pow x (sub 1 n)); |