/isolate it (I
already commented out almost the whole code).
Please tell me what I could try to correct the error. I appreciate ANY hint.
Many thanks in advance
Dmitri Pissarenko
PS: The source code of the files related to EigenvalueCalculatorHaskell.hs is
located at
http://dapissarenko.com
Thanks all for your answers!
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
:
marshall: Don't know how to marshall (addr als)
)
make[1]: *** [GCJNI.hs] Error 1
make[1]: Leaving directory
`/cygdrive/c/dapWork/temp/downloads/gcjni/gcjni-1.2/s
rc'
make: *** [src] Error 2
/make-output
What else should I do in order to fix these errors?
TIA
Dmitri Pissarenko
--
Dmitri
with using literate Haskell?
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hello!
Thanks for your answer!
Did you import Foreign.GreenCard?
No. I just followed the building manual of GCJNI.
Best regards
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe
related to this problem are available here (approx. 7 MB):
http://dapissarenko.com/resources/2005_02_17_eigenvaluesJava/2005_02_17_lik.zip
I appreciate any hint about how to solve the problem.
Thanks in advance
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
make[1]: Leaving directory `/cygdrive/c/dapWork/temp/downloads/greencard-
3.01/gr
eencard-3.01/lib'
make: *** [install] Error 2
/errors
How can I fix them?
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell
regards
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
options?
Thanks in advance
Dmitri Pissarenko
PS: Maybe the error is rooted in code parts other than those given here. In
the attachment there is the code of the main program
(ExperimentalYaleFaceDb.hs) and the function definitions (Lik.hs).
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
]
}]
/original-file
This didn't help me, I got the same error message.
Please tell me what's wrong with this package file.
Thanks in advance
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
The error is in the code line above, you can't write
trainingSet :: [ClassifiedImage]
by itself in a do statement.
Thanks for your advice!
Now it works.
Best regards
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
Thanks for the help!
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
classifiedImages = map snd classifiedImages
How can I solve this problem?
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo
the
readClassifiedImages definition seems to be correct (at least, GHCi loads the
file, where it is located without complaints).
Any hint is highly appreciated.
Best regards
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
Thanks!
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
class.
How can I define this function?
Can I use map for readImage function, which is in the IO domain? If not, what
tutorial can help me?
Thanks in advance
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell
Can I use map for readImage function, which is in the IO domain? If not, what
tutorial can help me?
Sorry, by IO domain I mean IO monad.
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
these errors?
Thanks in advance
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Thanks!
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Thanks for your response!
Now it works!
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
(then I can use map to re-scale each element from 0..255 to 0..1).
How can I convert an Int into a Double?
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
Zitat von Henning Thielemann [EMAIL PROTECTED]:
On Wed, 26 Jan 2005, Dmitri Pissarenko wrote:
How can I convert an Int into a Double?
fromIntegral
Thanks!
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
above?
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Thanks all for the help!
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
How can I convert an Int into a Double?
You don't convert to, you convert from :-)
The function 'fromIntegral' is probably what you want.
And what function can I use to convert from Double to Int (the inverse of
fromIntegral) ?
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http
I transform a string into a list of strings, separated by some
character (in Java one uses StringTokenizer for this) ?
2) How do the aforementioned regular expressions' analogons work in Haskell?
Thanks in advance
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
program into an executable, which is
optimized for the microcontroller?
Thanks in advance
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman
with aforementioned functionality.
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
?
Thanks in advance
PS: All files related to this example (paddle.hs and wxFruit.hs) are available
at
http://dapissarenko.com/resources/2005_01_20_haskell_learning/wxFruitSample.zip
in a 7 MB zip archive.
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
Thanks all for the help! Now it works.
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
for a completely white pixel and lies between zero and 255 for a
grey pixel.
In my program, I need ONLY to read an image and to transform it into such
matrix.
Which graphics library can you recommend, if no other image manipulation
operations are required?
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Hello!
Is there a math library for Haskell, using which one can calculate eigenvalues
of matrices?
Thanks in advance
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe
computations (though you'll need to
write/find a C library to do it first).
You mean that I have to write a program in C (or other language), which
calculates the eigenvalues, and then let the C program co-operate with the
Haskell program via FFI?
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Software
Haskell is to determine whether I can program much
more productively by using Haskell instead of Java/C#. In order to do that, I
have to learn Haskell quite thoroughly.
What book can you recommend?
TIA
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
in my
case
amounts to applications with
a) (often) non-trivial algorithmic part and a
b) user interface part.
I want to use Haskell in order to increase my productivity in both of these
parts.
Compilers are, at least at the moment, not my topic of interest.
Best regards
Dmitri Pissarenko
--
Dmitri
Thanks!
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hello!
Gerhard Navratil wrote:
Recently I had a course on matroids and would like to investigate the
topic a little further. Did anybody write (or start writing) a
Haskell-implementation for matroids?
What is a matroid?
Thanks
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http
Hello!
Thanks for your answer!
I solved the problem by using GHC 6.2.1 instead of GHC 6.2.2 (under Windows).
Best regards
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe
than writing them in an imperative
language.
Best regards
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hello!
I want to thank all list participants for answering my questions concerning
GUIs and unit testing.
Best regards
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
... done.
Loading package readline ... linking ...
C:/ghc/ghc-6.2.2/HSreadline.o: unknown symbol `_rl_redisplay_function'
ghc.exe: unable to load package `readline'
/error-messages
What am I doing wrong?
TIA
Dmitri Pissarenko
PS: Here is the code of the application
module Main where
import
a purchase where
rebate is greater than price (rebate and price are given in absolute numbers;
rebate is NOT a fraction of price) ?
c) What is a correct name for attributes of tuples (such as price and rebate
in Purchase) and constructors of tuples?
Many thanks in advance
Dmitri Pissarenko
the type signature for `activityIndicator'
/error-message
When I remove the line
activityIndicator :: Customer - Num
the error disappears.
What is wrong in the signature above?
TIA
Dmitri Pissarenko
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Thanks all for the help!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
) in particular?
http://hunit.sourceforge.net/
What other unit testing frameworks for Haskell do you use?
TIA
dap
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org
Hello!
I want to learn to create GUIs with Haskell.
Which GUI frameworks can you recommend?
Thanks
Dmitri Pissarenko
--
Dmitri Pissarenko
Software Engineer
http://dapissarenko.com
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
),
isList(Members).
civilServant(X).
isResponsibleFor(X, Y) :- civilServant(X),
domain(Y).
and then run queries, using which one can find out, which organizations are
there, what members they have etc.
Can one do this in Haskell?
Thanks in advance
Dmitri Pissarenko
47 matches
Mail list logo