mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
Transfer: reimplement operators with type classes.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import nat
|
||||
import prelude
|
||||
|
||||
fib : Int -> Int
|
||||
fib : Integer -> Integer
|
||||
fib 0 = 1
|
||||
fib 1 = 1
|
||||
fib n = fib (n-1) + fib (n-2)
|
||||
|
||||
Reference in New Issue
Block a user