On Tue, 12 Feb 2002 14:43:22 +, Malcolm Wallace
<[EMAIL PROTECTED]> wrote:
>> Being able to specify the extensions required in a source file would be very
>> useful in a range of cases. Very often helping other people with Haskell (in
>> the case where they are trying to use someone else's mo
On 12 Feb 2002, Pixel wrote:
> eurk
>
> ERROR "/usr/share/hugs/lib/exts/ST.hs":48 - Syntax error in type expression
>(unexpected `.')
>
> isn't there a way ST.hs would require the extensions? a pragma or something?
> someone not knowing the "-98" would wonder for a long time about what to do
> :
> Being able to specify the extensions required in a source file would be very
> useful in a range of cases. Very often helping other people with Haskell (in
> the case where they are trying to use someone else's module) is just a
> question of saying "try '-98'" or "try '-fglasgow-exts'" or whate
On 12 Feb 2002 14:49:16 +0100, Pixel <[EMAIL PROTECTED]> wrote:
>eurk
>
>ERROR "/usr/share/hugs/lib/exts/ST.hs":48 - Syntax error in type expression
>(unexpected `.')
>
>isn't there a way ST.hs would require the extensions? a pragma or something?
>someone not knowing the "-98" would wonder for a
language (although, in reality,
> the multiple solutions alluded to by the term are elements of a
> deterministically (is that a word?!) produced list)
"syntax across languages" is about syntax!
If something needs much explaination, it can't be included :p
[...]
> I
On 11 Feb 2002, Pixel wrote:
> Jay Cox <[EMAIL PROTECTED]> writes:
>
> > Using
> >
> > data = Foo ...
> > really should be meantioned as a way to construct new types.
> > newtype = Foo ... (new type)
> >
> > type Foo = ...
> > is only a type synonym. heres an example.
> > type String = [Char]
>
>
Pixel <[EMAIL PROTECTED]> writes:
>> In addition to . function composition, there's also $ function application,
>> which often is more practical to use.
> I could put it in "grouping expressions":
> $ ... Haskell
Yes, but that might apply to the . operator too. But yes, essentially
it
ing about Type classes. This is the main
> (only) method of overloading functions in haskell.
>
> maybe you might make mention of polymorphic type system and how haskell
> uses type inferencing to determine the meaning of expressions (relates to
> type classes).
syntax-across-languag
[EMAIL PROTECTED] (Ketil Z. Malde) writes:
[...]
> The . operator is used for package scope when packages (modules) are
> imported "qualified".
ok
> Indentation can optionally be replaced by { ; and }.
ok
> In addition to . function composition, there's also $ function application,
> which o
Pixel <[EMAIL PROTECTED]> writes:
> Contributions, suggestions and fixes are welcome.
The . operator is used for package scope when packages (modules) are
imported "qualified".
Indentation can optionally be replaced by { ; and }. In addition to
. function composition, there's also $ function a
On 11 Feb 2002, Pixel wrote:
> http://merd.net/pixel/language-study/syntax-across-languages.html
>
> CHANGES:
> - the page has now much more entries
> - one can check the missing entries per language at
> http://merd.net/pixel/language-study/syntax-across-languages-per-langua
http://merd.net/pixel/language-study/syntax-across-languages.html
CHANGES:
- the page has now much more entries
- one can check the missing entries per language at
http://merd.net/pixel/language-study/syntax-across-languages-per-language.html
(160KB)
see especially the haskell one
http
12 matches
Mail list logo