![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Invisible <voi### [at] dev null> wrote:
> Invisible wrote:
> > Of course, it's still alpha quality.
> Strike a light... It seems the bit "alpha" sticker has gone. And the
> command history seems to work properly now. Neat...
Now it's only v0.01 beta?-)
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
scott wrote:
>> data Suit = Diamonds | Hearts | Clubs | Spades
>>
>> data Number =
>> Ace | Two | Three | Four | Five | Six | Seven | Eight | Nine | Ten |
>> Jack | Queen | King
>>
>> data Card = Card Suit Number
>
> I get "parse error on input 'data'" for all those.
>
> Guess I'm missing some #include or whatever it's called.
Which way are you trying to execute this?
If you're trying to enter them interactively, don't. It doesn't work. ;-)
The GHC interactive interpretter ("GHCi") allows you to define variables
and use them later, but doesn't allow any other kinds of definitions
interactively.
If you write this stuff in a file and save it as, say, "Cards.hs", you
should be able to double-click that file and have GHCi automatically
open up and load it. You can then write expressions involving these types.
(Probably the next problem you'll trip over is that the types aren't
printable...)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>> Strike a light... It seems the bit "alpha" sticker has gone. And the
>> command history seems to work properly now. Neat...
>
> Now it's only v0.01 beta?-)
But that's the wonderful thing about OSS, isn't it? It never actually
reaches release 1.0. :-D
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> But that's the wonderful thing about OSS, isn't it? It never actually
> reaches release 1.0. :-D
Just like a progress bar in Windows:
ProgressBar1.Value = 1 - exp(time)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Invisible wrote:
> Strike a light... It seems the bit "alpha" sticker has gone.
Technically, if it was available for download, it's already beta. But I
guess that nomenclature already went out the window a few years ago.
--
Darren New, San Diego CA, USA (PST)
The question in today's corporate environment is not
so much "what color is your parachute?" as it is
"what color is your nose?"
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
scott wrote:
>> But that's the wonderful thing about OSS, isn't it? It never actually
>> reaches release 1.0. :-D
>
> Just like a progress bar in Windows:
>
> ProgressBar1.Value = 1 - exp(time)
Hey, at least OSS version numbers don't (usually) go backwards. :-P
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
>> ProgressBar1.Value = 1 - exp(time)
>
> Hey, at least OSS version numbers don't (usually) go backwards. :-P
Jsut checking you were awake :-)
Of course that should be 1-exp(-time)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
scott wrote:
>>> ProgressBar1.Value = 1 - exp(time)
>>
>> Hey, at least OSS version numbers don't (usually) go backwards. :-P
>
> Jsut checking you were awake :-)
>
> Of course that should be 1-exp(-time)
LOL! I didn't even notice that...
But Windows progress bars do, in fact, go both forwards and backwards,
seemingly at random. ;-)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> But Windows progress bars do, in fact, go both forwards and backwards,
> seemingly at random. ;-)
The best is when it gets to 99 or 100% and then *starts again* at 0% !
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
scott wrote:
>> But Windows progress bars do, in fact, go both forwards and backwards,
>> seemingly at random. ;-)
>
> The best is when it gets to 99 or 100% and then *starts again* at 0% !
Or when it goes from 0% to 100% in about 0.1 seconds, and then sits at
100% for 25 minutes... Yeah, that's real useful, guys.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |