mirror of
https://github.com/carp-lang/Carp.git
synced 2024-09-11 13:37:57 +03:00
Remove #516 workaround.
This commit is contained in:
parent
598b27350a
commit
d29ff19968
@ -299,9 +299,4 @@
|
||||
(doc vlerp "Linearly interpolate between the two vectors a and b by amnt (between 0 and 1).")
|
||||
(defn vlerp [a b amnt]
|
||||
(zip (fn [a b] (lerp a b amnt)) a b))
|
||||
|
||||
(defn workaround-516 []
|
||||
(match (Maybe.Nothing)
|
||||
(Maybe.Just x) (if x 0 1)
|
||||
(Maybe.Nothing) 2))
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user