format
This commit is contained in:
parent
9437f47ff7
commit
983f91f981
@ -58,6 +58,6 @@ append (Singleton x) = cons x
|
|||||||
append (Multiple a b c) = cons a . append b . cons c
|
append (Multiple a b c) = cons a . append b . cons c
|
||||||
|
|
||||||
join :: GoodList (GoodList a) -> GoodList a
|
join :: GoodList (GoodList a) -> GoodList a
|
||||||
join Empty = Empty
|
join Empty = Empty
|
||||||
join (Singleton x) = x
|
join (Singleton x) = x
|
||||||
join (Multiple a b c) = append (a `append` join b) c
|
join (Multiple a b c) = append (a `append` join b) c
|
||||||
|
Loading…
Reference in New Issue
Block a user