mirror of
https://github.com/kanaka/mal.git
synced 2024-09-11 21:57:38 +03:00
fsharp: allow macro argument for apply core function
This commit is contained in:
parent
140dcb0987
commit
e942621048
@ -133,6 +133,7 @@ module Core
|
||||
|
||||
let apply = function
|
||||
| BuiltInFunc(_, _, f)::rest
|
||||
| Macro(_, _, f, _, _, _)::rest
|
||||
| Func(_, _, f, _, _, _)::rest ->
|
||||
let rec getArgsAndCall acc = function
|
||||
| [] -> raise <| Error.wrongArity ()
|
||||
|
Loading…
Reference in New Issue
Block a user