mirror of
https://github.com/kanaka/mal.git
synced 2024-09-19 09:38:28 +03:00
ps: Fix result of (concat [1 2]), so it returns a list not a vector.
This commit is contained in:
parent
737e676bbb
commit
4bfde8229c
@ -97,7 +97,9 @@ end } def
|
||||
dup _count 0 eq { %if just concat
|
||||
pop 0 _list
|
||||
}{ dup _count 1 eq { %elseif concat of single item
|
||||
0 _nth % noop
|
||||
0 _nth dup _vector? { %if vector
|
||||
/data get _list_from_array
|
||||
} if
|
||||
}{ % else
|
||||
[] exch
|
||||
/data get {
|
||||
|
Loading…
Reference in New Issue
Block a user