Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Amanda (Peter Hall)
2. Program built on Ubuntu 11.10 does not run on previous
versions (AbdulSattar Mohammed)
3. Re: Amanda (Christiaan Kras)
----------------------------------------------------------------------
Message: 1
Date: Fri, 30 Dec 2011 00:08:32 +0000
From: Peter Hall <[email protected]>
Subject: Re: [Haskell-beginners] Amanda
To: Christiaan Kras <[email protected]>
Cc: [email protected]
Message-ID:
<caa6hak6xvdujksqzd4fzztpkswea87v3irs-hthq76uipk3...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
>From what gather, Amanda is a clone of Miranda - presumably created
because Miranda is a closed-source product. Haskell draws heavily from
Miranda, and some smaller programs can look almost indistinguishable
in the two languages.
That said, Miranda/Amanda really aren't as sophisticated as Haskell,
lacking type classes in particular.
Here is a paper comparing Haskell with Miranda:
http://www.cs.mun.ca/~donald/techreports/2000-02-cmp_haskell_miranda.ps
It's a little bit outdated but covers the main differences pretty well.
Peter
On Thu, Dec 29, 2011 at 11:17 PM, Christiaan Kras <[email protected]> wrote:
> Hello list,
>
> First time I'm posting here. I've been interested in Haskell for about a
> year now, but sadly haven't done too much with it yet.
>
> I decided to get my bachelors degree in Computer Science/Engineering (it's a
> bit of a mixed course at my university) after having worked for over 4.5
> years. One of the classes I've got to follow is discrete math.
>
> A first glimpse on the study material made me think "Cool! They're using
> Haskell!". This is however not the case. Instead, we're using Amanda.
>
> Amanda was written by Dick Bruin, who as far as I know used to teach at my
> university, but has now moved on to another university. I was told Amanda
> was being used at my university, NHL Leeuwarden (Netherlands) and the
> University of Twente (Netherlands). (strictly my university isn't a
> university, but high school means something different in English than it
> does in Dutch :-))
>
> The reason I'm posting here is because Amanda seems extremely heavily
> influenced by Haskell. I think it was written in either Delphi or Pascal,
> but I've got to verify that with one of the teachers.
>
> It's quite old as well, as it was developed between 1990 and 2000.
>
> A lot of stuff written in Amanda can easily be converted to Haskell with a
> few small changes. Which makes me wonder why they aren't using Haskell now.
> List comprehensions use the same syntax, but use a semicolon instead of a
> comma for separating generators and terms. Operators such as +,/,* etc. are
> functions, just like they are in Haskell. For what I can tell Amanda is more
> or less a stripped down version of Haskell.
>
> The thing I was wondering though, is if anyone on this list has ever heard
> of Amanda before. If so, where did you got in contact with it?
>
> --
> Christiaan Kras
> http://blog.htbaa.com
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
------------------------------
Message: 2
Date: Fri, 30 Dec 2011 12:56:18 +0530
From: AbdulSattar Mohammed <[email protected]>
Subject: [Haskell-beginners] Program built on Ubuntu 11.10 does not
run on previous versions
To: [email protected]
Message-ID:
<ca+mxqh-fcwy6cdkc7uphkb1ofkrvyos567jj7jdeamvqydt...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Ubuntu 11.10 comes with this library libgmp.so.10 and previous versions
come with libgmp.so.3. When you make ghc --make app.hs, it dynamically
links libgmp.so.10. This won't run on 11.04 or earlier with the error
message libgmp.so.10 not found. So, I compiled using ghc -static -optl-static
-optl-pthread --make app.hs. (
http://stackoverflow.com/questions/7344744/haskell-program-built-on-ubuntu-11-10-doesnt-run-on-ubuntu-10-04
got
it running).
I even ran ldd to check dependencies:
ldd app
not a dynamic executable
Now, it fails with
app: mkTextEncoding: invalid argument (Invalid argument)
I'm trying to deploy to Heroku. Here's the repository:
https://github.com/abdulsattar/hkonhk.
Here's the heroku app: http://hkonhk.herokuapp.com/
And here's the output of heroku log (after the push):
2011-12-30T07:13:58+00:00 heroku[slugc]: Slug compilation started
2011-12-30T07:14:06+00:00 heroku[web.1]: State changed from crashed to
created
2011-12-30T07:14:06+00:00 heroku[web.1]: State changed from created to
starting
2011-12-30T07:14:06+00:00 heroku[slugc]: Slug compilation finished
2011-12-30T07:14:08+00:00 heroku[web.1]: Starting process with command
`./app`
2011-12-30T07:14:08+00:00 app[web.1]: app: mkTextEncoding: invalid argument
(Invalid argument)
2011-12-30T07:14:10+00:00 heroku[web.1]: State changed from starting to
crashed
2011-12-30T07:14:10+00:00 heroku[web.1]: Process exited
2011-12-30T07:14:11+00:00 heroku[router]: Error H10 (App crashed) -> GET
hkonhk.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
I've asked about this many times on #haskell, but I couldn't get it
working. Help would be highly appreciated.
--
Warm Regards,
AbdulSattar Mohammed
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20111230/3b54c8e1/attachment-0001.htm>
------------------------------
Message: 3
Date: Fri, 30 Dec 2011 10:44:29 +0100
From: Christiaan Kras <[email protected]>
Subject: Re: [Haskell-beginners] Amanda
To: [email protected]
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
As far as I know Amanda is closed source as well.
From the Miranda Wikipedia page I found this link to Amanda (where you
can download it) http://www.cs.ucl.ac.uk/teaching/3C11/amanda.html
Thanks for the link. Will definitely read it.
Op 30-12-2011 1:08, Peter Hall schreef:
> From what gather, Amanda is a clone of Miranda - presumably created
> because Miranda is a closed-source product. Haskell draws heavily from
> Miranda, and some smaller programs can look almost indistinguishable
> in the two languages.
>
> That said, Miranda/Amanda really aren't as sophisticated as Haskell,
> lacking type classes in particular.
>
> Here is a paper comparing Haskell with Miranda:
> http://www.cs.mun.ca/~donald/techreports/2000-02-cmp_haskell_miranda.ps
> It's a little bit outdated but covers the main differences pretty well.
>
> Peter
>
>
> On Thu, Dec 29, 2011 at 11:17 PM, Christiaan Kras<[email protected]>
> wrote:
>> Hello list,
>>
>> First time I'm posting here. I've been interested in Haskell for about a
>> year now, but sadly haven't done too much with it yet.
>>
>> I decided to get my bachelors degree in Computer Science/Engineering (it's a
>> bit of a mixed course at my university) after having worked for over 4.5
>> years. One of the classes I've got to follow is discrete math.
>>
>> A first glimpse on the study material made me think "Cool! They're using
>> Haskell!". This is however not the case. Instead, we're using Amanda.
>>
>> Amanda was written by Dick Bruin, who as far as I know used to teach at my
>> university, but has now moved on to another university. I was told Amanda
>> was being used at my university, NHL Leeuwarden (Netherlands) and the
>> University of Twente (Netherlands). (strictly my university isn't a
>> university, but high school means something different in English than it
>> does in Dutch :-))
>>
>> The reason I'm posting here is because Amanda seems extremely heavily
>> influenced by Haskell. I think it was written in either Delphi or Pascal,
>> but I've got to verify that with one of the teachers.
>>
>> It's quite old as well, as it was developed between 1990 and 2000.
>>
>> A lot of stuff written in Amanda can easily be converted to Haskell with a
>> few small changes. Which makes me wonder why they aren't using Haskell now.
>> List comprehensions use the same syntax, but use a semicolon instead of a
>> comma for separating generators and terms. Operators such as +,/,* etc. are
>> functions, just like they are in Haskell. For what I can tell Amanda is more
>> or less a stripped down version of Haskell.
>>
>> The thing I was wondering though, is if anyone on this list has ever heard
>> of Amanda before. If so, where did you got in contact with it?
>>
>> --
>> Christiaan Kras
>> http://blog.htbaa.com
>>
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/beginners
--
Christiaan Kras
http://blog.htbaa.com
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 42, Issue 33
*****************************************