[Haskell-cafe] TypeOperators and Unicode

Brandon Allbery allbery.b at gmail.com
Mon Sep 12 10:10:10 CEST 2011


2011/9/12 Grigory Sarnitskiy <sargrigory at ya.ru>

> Still
>
> {-# LANGUAGE TypeOperators #-}
> {-# LANGUAGE UnicodeSyntax #-}
>
> data a ── b = Foo a b
>
> leads to
>
> test.hs:4:6: Malformed head of type or class declaration: a ── b
> Failed, modules loaded: none.
>

Don't all infix constructors have to start with a colon?

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110912/50a65b06/attachment.htm>


More information about the Haskell-Cafe mailing list