On Tue, Jul 15, 2008 at 11:51 PM, PJ Durai [EMAIL PROTECTED] wrote:
I am trying to import some functions from a windows DLL. I am getting
strange errors. (This used to work with previous versions of GHC. 6.6
I think.).
You may have to create an import library for the DLL. I had a similar
Nice:)
Daniil Elovkov wrote:
fero wrote:
And what if writing new application? Has anybody experience with
enterprise
application in functional language? Is it really clearer? I can see a
advantage in using Scala but it doesn't have some features from Haskell
or
CAL or requires more
Thanks Roberto!
Roberto Zunino wrote:
Chris Kuklewicz wrote:
There is no way to create a A.hs-boot file that has all of
(1) Allows A.hs-boot to be compiled without compiling B.hs first
(2) Allows B.hs (with a {-# SOURCE #-} pragma) to be compiled after
A.hs-boot
(3) Allows A.hs to
[EMAIL PROTECTED] wrote:
Dear Group,
I've spend the last few days figuring out the solution to Euler Problem 201 in
haskell. I first tried a relatively elegant approach based on Data.Map but
the performance was horrible. I never actually arrived at the answer. I then
rewrote the same
Hi,
module A(A) where
data A
deriving Show
I think you should use instance Show A rather than deriving Show.
All the boot file needs to do is say that the instance exists, not
explain how it is constructed.
Cheers,
Ganesh
Grzegorz Chrupala wrote:
split DOC . words . map toLower = (:[]) . words . map toLower
Since you converted everything to lowercase, the string DOC will
never appear in the text, resulting in a single huge document.
Oops, that should have been obvious, sorry for the dumb question.
Using GHC 6.8.2 and haddock 2.0.0.0. in WinXP (SP3) I am trying to follow
instructions from How to write a Haskell
programhttp://www.haskell.org/haskellwiki/How_to_write_a_Haskell_program#Build_some_haddock_documentation
.
Everything goes well, until I try to generate html documentation for the
Hi Dmitri,
How did you obtain Haddock 2.0? Did you download it off hackage and
install it, using the standard cabal bits?
Can you also do runhaskell Setup configure -v, so we can see which
Haddock Cabal is attempting to use.
Thanks
Neil
C:\wks\haqrunhaskell Setup.lhs haddock --executables
Neil,
Thanks for the quick response! I got haddock from its site (
http://haskell.org/haddock/#Download )using the link that says:
Windows: a binary
distribution http://haskell.org/haddock/dist/haddock-2.0.0.0-Win32.zip is
available, just unzip and go.
My configuration:
C:\wks\haqrunhaskell
apfelmus wrote:
Grzegorz Chrupala wrote:
split DOC . words . map toLower = (:[]) . words . map toLower
Since you converted everything to lowercase, the string DOC will
never appear in the text, resulting in a single huge document.
Oops, that should have been obvious, sorry for the dumb
apfelmus wrote:
In other words, we have now calculated the more efficient program
euler201 = map snd . filter ((==50) . fst) . subsums $ squares
where
subsums [] = singleton (0,0)
subsums (x:xs) = map (\(n,s) - (n+1,s+x)) (subsums xs) `union` subsums xs
I forgot something
On 14.07.2008, at 20:48, Don Stewart wrote:
Yes, we have long been discussing a generic Stream library to which
the various sequence structures can be translated to and from. Already
it is useful to say, stream bytestrings into uvectors and out to
lists.
could the Stream interface be made
On 7/16/08, Olivier Boudry [EMAIL PROTECTED] wrote:
On Tue, Jul 15, 2008 at 11:51 PM, PJ Durai [EMAIL PROTECTED] wrote:
I am trying to import some functions from a windows DLL. I am getting
strange errors. (This used to work with previous versions of GHC. 6.6
I think.).
You may have to
On Wed, 16 Jul 2008 10:22:46 -0600, you wrote:
I do have the import library. It came with the DLL. It links properly
when I use CCALL on the haskell import statements. Doesnt link when I
use STDCALL. It looks for function name with something like '@4 or
@8' tacked on at the end. Not sure what
Hello,
while studying for a exam I came across this little pearl:
Y = (L L L L L L L L L L L L L L L L L L L L L L L L L L L L)
where
L = λabcdefghijklmnopqstuvwxyzr. (r (t h i s i s a f i x e d p o i n
t c o m b i n a t o r))
posted by Cale Gibbard to this list. Now I'm wondering how
Hello Adrian,
Wednesday, July 16, 2008, 11:17:05 PM, you wrote:
L = ?abcdefghijklmnopqstuvwxyzr. (r (t h i s i s a f i x e d p o i n
t c o m b i n a t o r))
does one finde such awesome ? expressions? Is there some mathemagical
background that lets one conjure such beasts?
full search? :)
| I myselft don't understand why GHCi doesn't accept the type it
| infered as an explicit signature ...
I've known about this confusing behavior for some time, and the design goal
that the compiler should not infer a type that it can't check seems Clearly
Right. Stupidly, though, I had not
| Linux Nokia-N810-42-19 2.6.21-omap1 #2 Fri Nov 16 16:24:58 EET 2007
| armv6l unknown
|
| I would love a working GHC implementation on it, if for nothing else
| than how awesome it would be. Whether that means using a C back-end or
| native compilation doesn't matter to me so much.
|
| I might be
Hello,
I'm trying to install the curl package 1.3.2.1 for haskell, I'm using Ubuntu and
I've already installed curl-7.18.2. I can't get rid of the configuration error.
According to the log entry the curl.h doesn't exist.
Shell output:
runghc Setup.hs configure
Configuring curl-1.3.2.1...
---
Haskell Weekly News
http://sequence.complete.org/hwn/20080716
Issue 77 - July 16, 2008
---
Welcome to issue 77 of HWN, a newsletter covering
noahaon:
Hello,
I'm trying to install the curl package 1.3.2.1 for haskell, I'm using Ubuntu
and
I've already installed curl-7.18.2. I can't get rid of the configuration
error.
According to the log entry the curl.h doesn't exist.
Shell output:
runghc Setup.hs configure
Configuring
Marco Túlio Gontijo e Silva marcot at riseup.net writes:
Em Qua, 2008-07-16 às 19:50 +, Thomas Fuhrmann escreveu:
Hello,
Hello.
conftest.c:9:23: error: curl/curl.h: No such file or directory
--- Adrian Neumann [EMAIL PROTECTED] schrieb am Mi, 16.7.2008:
Von: Adrian Neumann [EMAIL PROTECTED]
Betreff: [Haskell-cafe] Fixed-Point Combinators
An: Haskell Cafe mailing list haskell-cafe@haskell.org
Datum: Mittwoch, 16. Juli 2008, 21:17
Hello,
while studying for a exam I came across
Simon Peyton-Jones wrote:
| Linux Nokia-N810-42-19 2.6.21-omap1 #2 Fri Nov 16 16:24:58 EET 2007
| armv6l unknown
|
| I would love a working GHC implementation on it, if for nothing else
| than how awesome it would be. Whether that means using a C back-end or
| native compilation doesn't matter
Hi,
I tried googling and searching the haskellwiki about this but wasn't
lucky enough. My question is: is there a way to send struct arguments
to C functions via the FFI or do I need to create a C wrapper? I guess
there isn't, and while I can live without it, I'd like to leave no
doubt.
25 matches
Mail list logo