1
1
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:
Nicolas Boulenguez 2022-02-18 15:02:01 +01:00 committed by Joel Martin
parent 140dcb0987
commit e942621048

View File

@ -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 ()