Purescript define cons as typeclass operator

后端 未结 0 1365
北海茫月
北海茫月 2021-01-05 02:24

Cons operator is defined (:) is defined for Array (Array.cons) and List (Cons type constructor). So to use it in the code we should either:

import Data.List (         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题