mirror of
https://github.com/tweag/nickel.git
synced 2024-10-06 16:18:08 +03:00
Update stdlib/contract.ncl
Co-authored-by: Yann Hamdaoui <yann.hamdaoui@gmail.com>
This commit is contained in:
parent
446ddebd41
commit
dcc422572f
@ -10,10 +10,10 @@
|
||||
"$fail" = fun l t => %blame% l,
|
||||
|
||||
"$array" = fun elt l t =>
|
||||
if %typeof% t == `Array then
|
||||
%array_lazy_assume% (%go_array% l) t elt
|
||||
else
|
||||
%blame% l,
|
||||
if %typeof% t == `Array then
|
||||
%array_lazy_assume% (%go_array% l) t elt
|
||||
else
|
||||
%blame% l,
|
||||
|
||||
"$func" = fun s t l e =>
|
||||
if %typeof% e == `Fun then
|
||||
|
Loading…
Reference in New Issue
Block a user