[Haskell-cafe] TypeOperators and Unicode
Grigory Sarnitskiy
sargrigory at ya.ru
Mon Sep 12 10:06:05 CEST 2011
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.
12.09.2011, 11:56, "Maciej Marcin Piechotka" <uzytkownik2 at gmail.com>:
> On Mon, 2011-09-12 at 11:51 +0400, Grigory Sarnitskiy wrote:
>
>> I want to have Unicode symbols for type operator:
>>
>> {-# LANGUAGE TypeOperators #-}
>
> Add also:
>
> {-# LANGUAGE UnicodeSyntax #-}
>
>> data a ── b = Foo a b
>>
>> But it doesn't work. Any suggestions?
>
> Regards
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
More information about the Haskell-Cafe
mailing list