Hi Russel,

1. a separate derive declaration is currently the only way to do this.
2. There are no multiline strings yet, sorry.

Regards, Ingo

Am Dienstag, 4. Oktober 2016 12:58:27 UTC+2 schrieb Russel Winder:
>
> I tried asking on Gitter, but I think I am on my own… I am assuming 
> here rather than Stackoverflow for these… 
>
> 1. Frege appears not to understand the Haskell deriving sub-clause of a 
> data statement declaring an algebraic type. I think a separate derive 
> statement is actually working, but is this the idiomatic way of adding 
> Eq, Enum, Show etc. to a type? 
>
> 2. Frege appears to recognise the \ at end of line \ at beginning of 
> next line for creating multiline strings, but the generated Java is 
> illegal and the Java compiler barfs. What is the idiomatic way of 
> getting multiline string literals in a Frege source? 
>
> -- 
> Russel. 
> ============================================================================= 
>
> Dr Russel Winder      t: +44 20 7585 2200   voip: 
> sip:russel.win...@ekiga.net 
> 41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@winder.org.uk 
> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

-- 
You received this message because you are subscribed to the Google Groups 
"Frege Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to frege-programming-language+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to