Verified Commit 28f5fab4 authored by Camil Staps's avatar Camil Staps 🚀

Remove IndexArray synonym type to work around generic issue (fixed in...

Remove IndexArray synonym type to work around generic issue (fixed in clean-compiler-and-rts/compiler!3)
parent 0fbe0e87
...@@ -52,9 +52,8 @@ import Clean.Doc ...@@ -52,9 +52,8 @@ import Clean.Doc
import Cloogle.API import Cloogle.API
:: IndexArray :== {#Index} JSONEncode{|{#Index}|} infield xs = JSONEncode{|*|} infield [x \\ x <-: xs]
JSONEncode{|IndexArray|} infield xs = JSONEncode{|*|} infield [x \\ x <-: xs] JSONDecode{|{#Index}|} infield json = case JSONDecode{|*|} infield json of
JSONDecode{|IndexArray|} infield json = case JSONDecode{|*|} infield json of
(Just xs,json) -> (Just {#x \\ x <- xs},json) (Just xs,json) -> (Just {#x \\ x <- xs},json)
(Nothing,json) -> (Nothing,json) (Nothing,json) -> (Nothing,json)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment