[Haskell-cafe] Template Haskell and Unit

Jose A. Lopes jabolopes at google.com
Thu Aug 29 15:03:28 CEST 2013


I am positive about the following situation, but I can't find any
concrete answer on the Web. Can anyone confirm this ?

In template-haskell-2.7.0, the following quote

  [t| () |]

appears as a (ConT name), where "name" is the name for unit.  However,
in template-haskell-2.8.0, the same quote appears as (TupleT 0).

Is this the expected behaviour ?


Jose Antonio Lopes
Ganeti Engineering
Google Germany GmbH
Dienerstr. 12, 80331, München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores
Steuernummer: 48/725/00206
Umsatzsteueridentifikationsnummer: DE813741370

More information about the Haskell-Cafe mailing list