r),
>> though it eats quite a bit of memory.
>> How are you going to use these bit strings? Do you need all of them at once?
>>
>> 2010/10/15 Aleksandar Dimitrov :
>>> On Fri, 15 Oct 2010 14:34:42 +0200, rgowka1 wrote:
>>>
>>>> Amazing, will nev
t;; x2
> <- "01" ; x3 <- "01"; return [x1,x2,x3] = your desired result
> (enumerate all combinations of x1,x2,x3 with each being 0 or 1).
>
> 2010/10/15 Eugene Kirpichov :
>> genbin = flip replicateM "01"
>>
>> 2010/10/15 rgowka1
Hi -
How can I generate all binary string of a given length? The type
signature would something like -
genbin :: Int -> [String]
For example genbin 2 would give ["00","11","01","10"] and genbin 3
would give ["000","001","010","011","100","101","110","111"] etc..
thanks..
___
Type signature would be Int -> [Double] -> [(Double,Double)]
Any thoughts or ideas on how to calculate a n-element moving average
of a list of Doubles?
Let's say [1..10]::[Double]
what is the function to calculate the average of the 3 elements?
[(1,0),(2,0),(3,2),(4,3)] :: [(Double,Double)]
I am trying to compile demo.hs, but keep getting the error that
Paths_gnuplot could not be found. What/where is paths_gnuplot?? Sorry,
I am still a beginner..
On Sat, Sep 25, 2010 at 8:48 AM, Henning Thielemann
wrote:
>
> On Sat, 25 Sep 2010, rgowka1 wrote:
>
>> Can I just d
Can I just do cabal install gnuplot or should I use darcs to get the
candles version..
On Sat, Sep 25, 2010 at 8:03 AM, Henning Thielemann
wrote:
>
> On Sat, 25 Sep 2010, rgowka1 wrote:
>
>> Hi -
>>
>> What are the libraries to use in Haskell to generate a stock
>&g
Hi -
What are the libraries to use in Haskell to generate a stock
candlestick chart like
http://stockcharts.com/h-sc/ui?s=SPY&p=D&b=5&g=5&id=p05007254056
I will use Finance-Quote-Yahoo to get the quote data from Yahoo.
thanks for all your help.
___
Has
HI -
I have been struggling to get the Xemacs recognize hs file. I have installed
the Haskell-mode.. However I keep getting the message "File mode
specification error: (wrong-number-of-arguments require 3)".. How do I go
about fixing this??
Many thanks