Re: [Haskell-cafe] Learn Prolog...

2007-09-02 Thread jerzy . karczmarczuk
te.org/node/890 Perhaps somebody can say more about constraint languages which replaced Prolog in some contexts as well. Have fun. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Learn Prolog...

2007-09-02 Thread jerzy . karczmarczuk
instruction transforms the man."(DK 68 B 33) # "If any man listens to my opinions, here recorded, with intelligence, he will achieve many things worthy of a good man, and avoid doing many unworthy things.(DK 68 B 35) == Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Learn Prolog...

2007-09-01 Thread jerzy . karczmarczuk
g typing. Prolog strategies are straightforward, and I simply cannot understand the comments of Andrew Coppin. Which arbitrary set of conclusions?? Which patently obvious results not derivable?? Be kind, give some examples, otherwise people may suspect that you are issui

Re: [Haskell-cafe] let and fixed point operator

2007-08-30 Thread jerzy . karczmarczuk
tic inference of types, which sooner or later must be harnessed by all Haskell programmers... The best. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] let and fixed point operator

2007-08-30 Thread jerzy . karczmarczuk
d collection of particularly succulent Vietnamese swearwords. == Perhaps you should decorate your program a bit as well? Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Ideas

2007-08-25 Thread jerzy . karczmarczuk
ursion. It cannot be extremely efficient, but it seems quite elegant and powerful. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Remember the future

2007-08-17 Thread jerzy . karczmarczuk
er they submitted something ready for the audience. Please check it out. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] snoc vs cons

2007-07-24 Thread jerzy . karczmarczuk
SzGesGor97b.pdf/geser97parallelizing.pdf http://citeseer.ist.psu.edu/cache/papers/cs/27853/http:zSzzSzwww-2.cs.cmu.ed uzSz~rwhzSzcourseszSzmoduleszSzpaperszSzwadler87zSzpaper.pdf/wadler86views.p df and some others. And, anyway, when I was young, my Master used to say: "If you have nothing to say, then.&q

[Haskell-cafe] Sets and Universe. Was : "Very freaky"

2007-07-12 Thread jerzy . karczmarczuk
rse below him, and he sees, as clearly as never before, that an apple is just an apple... Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Parsers are monadic?

2007-06-30 Thread jerzy . karczmarczuk
am confusing things because of my age...). Anyway, concerning what Big Chris calls a "more general concept": don't be confused, the parsing strategy of S&D is *NOT* monadic. Thera are arrows which are monadic, and others which are not. http://www.cs.uu.nl/people/doaitse/

Re: [Haskell-cafe] Implementing Mathematica

2007-06-02 Thread jerzy . karczmarczuk
re years old, or, you simply never tried to use efficiently your very, very (physically) young brain. A good deal of Prolog non-determinism can be efficiently and nicely simulated in Haskell using the list Monad. Our 3-nd year CompSci students are obliged to learn it. They survive it, so can

Re: [Haskell-cafe] Implementing Mathematica

2007-06-02 Thread jerzy . karczmarczuk
rogress *IS* considerable, but because of commercial support the Windows world moves forward a bit faster! Now, Haskell evolves in both worlds, but we have already seen that it was easier to link it with the graphical support on Windows... Such is life. Jerzy Karczmarczuk __

Re: [Haskell-cafe] Implementing Mathematica

2007-05-31 Thread jerzy . karczmarczuk
tion[{x}...] formulae, you see that just assimilating the documentation needs something like 4 days. Of course, this is not restricted to Mathematica. All Comp. Algebra systems have such tools. But, OK, I am old, tired and slow. There are, fortunately for us, some people very fast and efficient.

Re: [Haskell-cafe] Crazy idea: overloading function application notation

2007-05-31 Thread jerzy . karczmarczuk
tional application is the (inverted) exponentiation! I belive that trying to produce something similar to the proposal above would result in a True Disgrace. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Implementing Mathematica

2007-05-31 Thread jerzy . karczmarczuk
Andrew Coppin cites me and asks: jk wrote: ... The World had many symbolic math packages: Reduce, Macsyma, Schoonschip (beloved by high- energy physicists), Maple, Scratchpad2/Axiom, later MuSIMP/MuMATH for small platforms, etc. I find that statement interesting. I have never come across *any

Re: [Haskell-cafe] Implementing Mathematica

2007-05-31 Thread jerzy . karczmarczuk
al Church) can implement other things, for example some formal mathematics dealing with logic, or with the category theory, or with the computational geometry or with (my dream) the *true* implementation of quantum calculi. Knock, knock! Wake up, the sermon is over. Jerzy Karczmarczuk _

Re: [Haskell-cafe] What puts False before True?

2007-05-31 Thread jerzy . karczmarczuk
ically, so we do it explicitly... See here: http://en.wikipedia.org/wiki/Boolean_algebra Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: (Chaos) [An interesting toy]

2007-05-05 Thread jerzy . karczmarczuk
are minor. Of course it will be slower, but then, why not increase dt? Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Why Perl is more learnable than Haskell

2007-04-11 Thread jerzy . karczmarczuk
ay, programming languages require first a good deal of positive thought. The discussion on the relative merits of X or Y is OK, but when I read that someone hates Perl, and somebody else hates Matlab, I am a bit sick. Hatred never produced anything. Jer

Re: [Haskell-cafe] Does laziness make big difference?

2007-02-16 Thread jerzy . karczmarczuk
Haskell, and contribute to its development instead of making another one, redundant project. Eine Kirche, eine Sprache, eine Partei, ein Volk??? Horrible perspective. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] A voice in the desert... (Was: Is lazyness make big difference?)

2007-02-15 Thread jerzy . karczmarczuk
ICATED ANIMATIONS* are done in this way. The IK is an established industrial domain, and in my humble opinion, the laziness IS the tool to code it in a readable manner (I work on this right now, but slowly...) Jerzy Karczmarczuk PS. BTW. The True Real World is quantum, not classical. A bottle of the

Re: [Haskell-cafe] Haskell Side Effect

2006-12-20 Thread jerzy . karczmarczuk
...werbeH neve dna a n d C h i n e s e == Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Why is Haskell not homoiconic?

2006-10-31 Thread Jerzy Karczmarczuk
pe of the language itself" -- http://en.wikipedia.org/wiki/Homoiconic Examples: LISP, Rebol, Natural Languages... Could you say why do you think Haskell SHOULD belong to this class? Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@h

Re: [Haskell-cafe] Is Haskell a 5GL?

2006-09-30 Thread jerzy . karczmarczuk
line : http://users.info.unicaen.fr/~karczma/arpap/lazysem.pdf page 4... Jerzy Karczmarczuk === (*) A reference for your culture: Jorge Luis Borges, "Pierre Ménard, the Author of Don Quixote". It is a story about a person who WROTE (not: copied) a book, exactly, letter by lette

Re: [Haskell-cafe] Is Haskell a 5GL?

2006-09-25 Thread Jerzy Karczmarczuk
Alex Queiroz wrote: On 9/25/06, Ch. A. Herrmann <[EMAIL PROTECTED]> wrote: Henning Thielemann wrote: > assembly language (Assembler ist deutsch :-) for mysterious reasons it entered the English world. 'Assembly' is a language. 'Assembler' is a program. All this is absolutely essent

[Haskell-cafe] Re: Numeric type classes

2006-09-14 Thread jerzy . karczmarczuk
rse not in a 'decent' language, but I know a few undecent. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: A free monad theorem?

2006-09-02 Thread jerzy . karczmarczuk
are about passing results from one computation to the next one, they wouldn't be using monads in the first place. Shrug. If these programmers didn't care about passing results from one computation to the next one, they wouldn't use functional programming at all. Hm. Would it st

[Haskell-cafe] Re: Functional progr., infinity, and the Universe

2006-06-23 Thread Jerzy Karczmarczuk
nd the set of finite lists B. Between a limit and the maximum element of a set. OK, I think that this subject matured enough to rest in peace... Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailma

[Haskell-cafe] Functional progr., infinity, and the Universe

2006-06-22 Thread jerzy . karczmarczuk
then YOU JUST PROVED THE EXISTENCE OF GOD. = More seriously... Perhaps you (and possibly Piotr Kalinowski) would look up some materials on intuitionism in mathematics, on the constructive theory of sets, etc. Jerzy Karczma

Re: [Haskell-cafe] Functional progr., images, laziness and all the rest

2006-06-22 Thread Jerzy Karczmarczuk
ut, but I have never followed the details. Perhaps some YamPa-ladins who read this list could shed some light on the reactive stream processing? They use Arrows, a generalization (and twist, not compatible) of Monads, so there is obviously *some* relation to continuations here... But I am a Per

Re: [Haskell-cafe] Principal type in Haskell

2006-06-22 Thread Jerzy Karczmarczuk
t;, predicate Eq [a] should be reduced to Eq a. Does it mean that nobody is entitled to override the standard instance, and, say, declare: instance Eq [a] where x==y = length x == length y ? Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Ca

Re: [Haskell-cafe] Functional progr., images, laziness and all the rest

2006-06-22 Thread Jerzy Karczmarczuk
e contrary, the full semantics is in front of your eyes, it requires only some reasoning in terms of infinite lists. See point (1). Thanks. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Functional progr., images, laziness and all the rest

2006-06-21 Thread jerzy . karczmarczuk
an usage of unique arrays was for me more natural than monadic stuff in Haskell, but this is probably just a question of style. I agree that here the laziness is secondary... Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.o

[Haskell-cafe] ... processing of large raster images : CLEAN

2006-06-21 Thread Jerzy Karczmarczuk
s. comparing to Haskell, it seems somewhat like "Visual Basic" comparing to plain Basic. again, i don't tried it (and it's not free, afair), so look himself. Yourself... ... You will find that Clean IS FREE under LGPL, although commercial versions exist as well. Don't spre

Re: [Haskell-cafe] Computing lazy and strict list operations at the same time

2006-06-19 Thread jerzy . karczmarczuk
Joel Reymont writes: Where's the solution and what is the repmin problem? On Jun 19, 2006, at 5:21 PM, Jerzy Karczmarczuk wrote: Such tricks become your second nature, when you take the solution (lazy) of the "repmin" problem by Richard Bird, you put it under your pillow, an

Re: [Haskell-cafe] Computing lazy and strict list operations at the same time

2006-06-19 Thread Jerzy Karczmarczuk
inl x (a:as) = (x:q,y) where (q,y) = inl a as inl x [] = ([],x) Such tricks become your second nature, when you take the solution (lazy) of the "repmin" problem by Richard Bird, you put it under your pillow, and sleep for one week with your head close to it. Jerzy Karczmarczuk ___

Re: [Haskell-cafe] When to teach IO

2005-12-22 Thread jerzy . karczmarczuk
you know. That's it. In Scheme the integration of IO with the rest of the program is more natural, you just have expressions with some side-effects, and you accept that side-effects are natural. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskel

[Haskell-cafe] Re: When to teach IO

2005-12-22 Thread jerzy . karczmarczuk
ning local French snail-eaters ... well, I lost all illusions quite a time ago. Jerzy Karczmarczuk PS. About the subject (when to teach IO): don't be sectarians. If a programming course insists on algorithmics, the IO issues can be postponed a bit. If it insists on practical data processin

Re: [Haskell-cafe] What is a Boxed Array?

2005-12-09 Thread jerzy . karczmarczuk
oxing is the possibility - available in Smalltalk - to change the *identity* of an object. You write (x become y), and all references to the object assigned to x, point now to something completely different. A terrible weapon. Jerzy Karczma

[Haskell-cafe] Problem with continuations and typing

2005-12-01 Thread Jerzy Karczmarczuk
s, yet...), for my students. Do you have any simple work-around? Introduce some algebraic constructors? Perhaps higher-rank polymorphism could do something (but then I would have to explain it to my folk...) I would hate this... Gracias. Jerzy Karczmarczuk ___

Re: R: [Haskell-cafe] Hacking Haskell in Nightclubs?

2005-11-30 Thread Jerzy Karczmarczuk
r: http://users.info.unicaen.fr/~karczma/arpap/cleasyn.pdf Of course I can send the Clean stuff to the <> as well, but I am aware that this is a 5th-column attitude in a Haskell list... Still, you can try to translate the models into Haskell, which should be conceptually trivial. The best. Jerz

Re: [Haskell-cafe] Monads in Scala, XSLT, Unix shell pipes was Re: Monads in ...

2005-11-27 Thread jerzy . karczmarczuk
emand *abstractly* that evaluating runtwo (proc1) (proc2) mean: launch the two concurrently and process further the first outcome? Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Detecting Cycles in Datastructures

2005-11-27 Thread jerzy . karczmarczuk
their faces, and I wondered whether it would be a bad idea to call some ambulances...) Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Monads in Java, Joy, OCaml, Perl, Prolog, Python, Ruby, and Scheme was Re: Other languages using monads?

2005-11-24 Thread jerzy . karczmarczuk
rs simply prefer a bit lowel-level mechanisms, although monads *can* be used as well - if you wish. Clean http://www.cs.ru.nl/~clean/ Such Haskell-implemented monads as list/nondeterminism or Maybe, go without any changements. State/IO use the unique types. Je

Re: [Haskell-cafe] Can anyone help me with partition numbers?

2005-11-24 Thread jerzy . karczmarczuk
whoals (sent by Nabble.com): Define a function parts which returns the list of distinct partitions of an integer n. Send this query perhaps to haskell-homeworks list? JK ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskel

Re: [Haskell-cafe] Function application like a Unix pipe

2005-11-23 Thread jerzy . karczmarczuk
alltalkers, people using Forth, PostScript, etc. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] re-definition of '.'

2005-11-21 Thread jerzy . karczmarczuk
computed gotos already. Actually, all irony apart, seriously, I have a theorem for you. It says: At least 2 times per month somebody tries to reinvent continuations. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Detecting Cycles in Datastructures

2005-11-18 Thread jerzy . karczmarczuk
ing" which for you means a finite list? Are you sure that everybody needs the LEAST fixed point? The co-streams give you something different... Frankly, I don't know what is the issue... Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Ha

Re: [Haskell-cafe] Confused about Cyclic struture

2005-07-12 Thread Jerzy Karczmarczuk
, and Haskell in particular. Any takers? Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] re: Python

2005-05-31 Thread Jerzy Karczmarczuk
ation. Horrible difference in efficiency between some "standard" procedures such as sorting which uses built-in order, and user-defined one. Etc. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Python?

2005-05-18 Thread Jerzy Karczmarczuk
tp://www.mrtc.mdh.se/projects/DFH/ but you say that the project is dormant. Is there *anything* going on? THANKS! Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Python?

2005-05-11 Thread Jerzy Karczmarczuk
combinators. This works: (x > y) or 'allez en enfer' Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Python?

2005-05-11 Thread Jerzy Karczmarczuk
e vectorized "comprehension" expressions are really neat. In contrast, Mathematica has a pretty consistent and elegant language. Since I respect others' religions I won't argue. But I hope you don't try to convince us that Mathematica is good at number crunching... Jerzy K

Re: [Haskell-cafe] Python?

2005-05-10 Thread Jerzy Karczmarczuk
son to call it a creeping horror. It is quite homogeneous and simple, and is decently interfaced. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Squashing space leaks

2005-05-09 Thread Jerzy Karczmarczuk
y that the energy *remains* constant unconditionally. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Comparison with Clean?

2005-05-04 Thread Jerzy Karczmarczuk
ages is a big adventure and pleasure. * Here and elsewhere both H and C communities are helpful, people who know, answer all questions without pretensions nor suggestions that they are respectful gurus bothered by beginners (which happens too often on other "language-oriented" newgroups

Re: [Haskell-cafe] Clarification on proof section of HS: The Craft of FP

2005-05-02 Thread Jerzy Karczmarczuk
) Without which "=" and "<" fail to have their intended meaning. I don't know what's 'your' intended meaning of the length of an infinite list, but I don't think you can prove or assume that ~(w 5 < 6 6 < 7 ... go to aleph0. Jerzy Karczmarczuk

Re: [Haskell-cafe] Problem with fundeps.

2005-01-05 Thread Jerzy Karczmarczuk
ction that we can traverse. although this may be the departure point for a "less opaque" representation of functions, probably useful in math... Jerzy Karczmarczuk ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Problem with fundeps.

2005-01-03 Thread Jerzy Karczmarczuk
>any->scalar with good arithmetic scalars permit to establish the vector structure. Actually, the instances as quoted above produces bizarrily an error which says that something is less polymorphic than expected; the overlapping is accepted (apparently). Sigh. Jerzy Karczmarczuk _

Re: [Haskell-cafe] convergence of functions of Complex variables

2004-12-15 Thread Jerzy Karczmarczuk
ts would require multi-parametric classes. With dependencies, of course... Since they are not *so* old, and the numerics in Haskell have been frozen a long time ago, Haskell libraries from the math point of view evolve slowly. But people are interested in that, and the work will contin

[Haskell-cafe] Re: Why does RandomIO need the unsafePerformIO hack?

2004-12-03 Thread Jerzy Karczmarczuk
cult in Haskell. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Modules and files

2004-06-15 Thread Jerzy Karczmarczuk
but as more structured entities... We have already separate 'interface files'... We should use more frequently multi-level editors. We know, anyway, that it is *good* to have some interaction between the editor and the compiler for the debugging... Jerzy Karczmarczuk

Re: [Haskell-cafe] Join and it's relation to >>= and return

2004-06-09 Thread Jerzy Karczmarczuk
ible work on ADJUNCTIONS in the context of Haskell structures? Perhaps instead of searching for 'inverses' one should think more about adjoints?... Jerzy Karczmarczuk ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Solving differential equations in terms of power series

2004-05-24 Thread Jerzy Karczmarczuk
rl in JFP. There is an another piece of my stuff, where there is something about the dif- ferential equations here: http://users.info.unicaen.fr/~karczma/arpap/laseq.pdf Jerzy Karczmarczuk ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskel

Re: Proper Etiquette

2003-10-15 Thread Jerzy Karczmarczuk
that all questions have always to be answered? (**) I would suggest to have a cup of coffee, and to listen to a well known piece of music by Charles Ives. Yes, I am serious. http://www.charlesives.org/ http://www.musicweb.uk.net/Ives/WK_Unanswered_Question.htm Jerzy Karczmarczuk (**) If you

Re: global variable. No, we are not sectarians...

2003-10-13 Thread Jerzy Karczmarczuk
re convinced that we might help you, José, but there is a price: you will have to understand what the 'laziness' is, or perhaps what is a 'continuation'. [[I claim, however, that nobody will oblige you to learn what a 'monad' is, although it mig

Is this a terminologic issue?

2003-09-19 Thread Jerzy Karczmarczuk
ot;pull back" (linearly of course!) > linear forms on B to linear forms on A > "back" refers to the direction of F, i'd say. == Does anybody have a different (or any!) idea about that? Thank you in advance for helping me to solve my ho

Re: Hugs Humor

2003-07-08 Thread Jerzy Karczmarczuk
Andrew J Bromage wrote: On Mon, Jul 07, 2003 at 12:01:09PM +0200, Jerzy Karczmarczuk wrote: I don't understand the remark that the internal arithmetic is binary. Sure, it is, so what? The reason is that you can get the Rational representation even faster than using continued frac

Re: Hugs Humor

2003-07-07 Thread Jerzy Karczmarczuk
presentation conversion. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Hugs Humor

2003-07-07 Thread Jerzy Karczmarczuk
s p1 (a*p1+p0) cq eus p0 p1 [] = [p0,p1] Now, test it: pp=3.141592653589793 r=take 10 (continuant (tocfrac pp)) You should get [(3,1),(22,7),(333,106),(355,113),(103993,33102),(104348,33215), ... etc;, anyway all that is already inexact... For 0.1 o

Re: Non-determinism, backtracking and Monads

2003-06-11 Thread Jerzy Karczmarczuk
ssentially two orchestrations of the same theme. I lost my references, perhaps somebody?... Jerzy Karczmarczuk ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: powerset

2003-06-05 Thread Jerzy Karczmarczuk
ization) of the straightforward transformation from a version using the non-deterministic Monad. This one is really almost a carbon copy of the Prolog solution, with appropriate "lifting" of operations from individuals to lazy lists. Such things are sometimes easier to do than to describe

Re: how to break up a large module?

2003-05-30 Thread Jerzy Karczmarczuk
Simon Marlow wrote: Be careful about accidental overloading: ... Be careful with exports. Prune export lists to just those functions which need to be exported. How a too long export list can slow-down the target program? Jerzy Karczmarczuk

Re: African money

2003-03-25 Thread Jerzy Karczmarczuk
could stop that, otherwise? Together with others who propose to change $25 into billions, or to enlarge some interesting parts of a male hardware? Or tell me how to *effectively* filter all that away. Or, I'll go mad and I strangle some of my students. Anyway they deserve it. Yours friendly

Re: is identity the only polymorphic function without typeclasses?

2003-03-03 Thread Jerzy Karczmarczuk
n't find any model of it. No, no, get out with your f x = undefined. The "subst" combinator: subst f g x = f x (g x) has the type (a->b->c) -> (a->b) -> a -> c (unless I've produced some mistake) You can sing the rest of this solemn song yourself, you know the basic tune. Read Luca Cardelli papers, Wadler's "Theorems for free", etc. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: ANNOUNCE: Learning Haskell portal, version 0.1

2003-02-13 Thread Jerzy Karczmarczuk
: Scheme, absolutely: ML variants, and Erlang. Such questions are, and will continue to be recurring. Jerzy Karczmarczuk ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Parsing date and time specifications

2002-12-20 Thread Jerzy Karczmarczuk
Mark Carroll wrote: > (Is all the world on a seven-day week? I wonder how that came about.) Gunpowder & money. Merry Christmas. Jerzy Karczmarczuk Caen, France ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/

showsPrec: cui bono?

2002-11-12 Thread Jerzy Karczmarczuk
- printers, like readsPrec can be useful for simple, precedence-based parsers. But I am still unhappy. The associativity is not taken into account, and for non-trivial purposes both ...Prec functions seem not as useful as I would like. Any comments? Thanks. Jerzy Karczmarczuk

Re: Rational sequence

2002-10-22 Thread Jerzy Karczmarczuk
gs in sequences as above already (if I am not mistaken) about 7 - 8 years ago, when we discussed a bit the usage of Haskell to some numerics. But nobody really cared about it, and it seems that some small but nasty insects are still alive. Jerzy Karczmarczuk

Re: infinite (fractional) precision

2002-10-10 Thread Jerzy Karczmarczuk
ic of continued fractions is also based on co-recursive expansion, although I have never seen anybody implementing it using a lazy language, and a lazy protocol. Anybody wants to do it with me? (Serious offers only...) Jerzy Karczmarczuk ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: infinite (fractional) precision

2002-10-10 Thread Jerzy Karczmarczuk
-recursive, and partly recursive, borrowing the carry from the non-existing yet future. It could be done in a safer way, but I repeat that I did it for sheer joy. Perhaps one day I will return to it, unless somebody does it first. Jerzy Karczmarczuk ___

Re: Question about use of | in a class declaration

2002-08-21 Thread Jerzy Karczmarczuk
more documentation, but there isn't (yet). Yell if you need it. Folks, let's yell together! This is a nice feature. It SHOULD be better known. If Simon's team has no time to write it, perhaps it would be nice to put the reference to Mark's paper on line? http://w

Re: ASSISTANCE NEEDED.

2002-04-15 Thread Jerzy Karczmarczuk
imon Peyton Jones, and Simon Marlow. (Or, hmmm... no, we can't dismiss them like that. We will buy them!) Jerzy Karczmarczuk Caen, France I propose to keep this money here in Normandy. We have plenty of very resistant bunkers not destroyed yet (neither in '44, nor dur

ENOUGH! (Hiring Haskell programmers)

2002-03-12 Thread Jerzy Karczmarczuk
to time I will show also how the things can be coded faster and nicer". Je vous souhaite Salud y Pesetas. Jerzy Karczmarczuk Caen, France ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Ground Up

2002-02-28 Thread Jerzy Karczmarczuk
n't have to understand what the compiler is doing to > write code. This is not the question of this or that *compiler*, but of understanding the basics of data processing independent of the language. I am abhorred by the idea of putting down: "this looks like it wo

Re: ideas for compiler project

2002-02-01 Thread Jerzy Karczmarczuk
oque. As a programming language it is worse than Fortran (save for vectorized arithmetic). So, linguistically a functional scientific programming tool would be really very nice. But the performance is another issue. Jerzy Karczmarczuk Caen, France. === PS. Is it good English: "save for vectorized ari

Re: differentiation. Reply

2002-01-14 Thread Jerzy Karczmarczuk
shed in HOSC last year. But somebody might get interested in some geometric extensions thereof (differential forms) http://users.info.unicaen.fr/~karczma/arpap/ltforms.pdf Jerzy Karczmarczuk ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

SPJ (and others') book. Was: Pointers in Haskell??

2001-12-10 Thread Jerzy Karczmarczuk
nally, I honestly don't think I would have been able to put > Gofer together without many hours poring over Simon's 1987 book. Just for the record: this wonderful (really!) book has others authors as well: Philip Wadler, Peter Hancock,... contributed, writing some chapters. Jerzy Ka

Re: Some good-hearted criticism

2001-06-28 Thread Jerzy Karczmarczuk
monads is quite fundamental. Unless I am wrong... But I can't discard the impression that in Haskell the hiatus between the IO primitives and other programming layers is bigger than in the imperative world. Jerzy Karczmarczuk Caen, France ___ Haskell-

Re: Biggest Haskell unit in the world

2001-06-25 Thread Jerzy Karczmarczuk
e. We still use a bit of Prolog, but most of our stuff has been rewritten, and now Haskell dominates. Etc. It is just a sick dream? Jerzy Karczmarczuk Caen, France ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/ma

Re: Functional programming in Python

2001-05-29 Thread Jerzy Karczmarczuk
, > e.g. 'x f (y)' is a function f applied to two arguments. Hmmm. An experimental syntax, you say... Oh, say, you reinvented FORTH? (No args in parentheses there, a function taking something at its right simply *knows* that there is something there). Jerzy Karczmarczuk Caen, France _

Re: BAL paper available >> graphic libraries

2001-05-17 Thread Jerzy Karczmarczuk
ch, and not just in stacking some external goodies which integrate badly with the language. Bother, I realized that my main contributions to this list are just complaining. Somebody could teleport me to a desert island, with some computers, but without hoar

Re: Macros (Was: Interesting: "Lisp as a competitive advantage")

2001-05-07 Thread Jerzy Karczmarczuk
Keith Wansbrough quotes : > > Jerzy Karczmarczuk <[EMAIL PROTECTED]> writes: > > > Macros in Scheme are used to unfold n-ary control structures such as COND > > into a hierarchy of IFs, etc. Nothing (in principle) to do with laziness > > or HO functions. >

Macros (Was: Interesting: "Lisp as a competitive advantage")

2001-05-04 Thread Jerzy Karczmarczuk
l etc. variants of Snobol4, they decided to use more structured, higher-level approach (there was even an another, portable assembler with higher-level instructions "embedded"; these avoided the usage of macros). Jerzy Karczmarczuk Caen, France ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: Dimensional analysis with fundeps (some physics comments)

2001-04-10 Thread Jerzy Karczmarczuk
http://mail.collegestudent.com/gda01/GDA01.HTM http://physics.nist.gov/cuu/Units/SIdiagram.html ) I believe, however, that one should not forget that all that is *conventional*. Jerzy Karczmarczuk Caen, France ___ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe

Backtracking (Was: What do you think about Mercury?)

2001-04-09 Thread Jerzy Karczmarczuk
, etc. This may be implemented functionally as well by using continuations. You may have conditional continuations, multiple continuations,... Unfortunately such techniques are rarely taught. I suspect that Mark Jones' Prolog implementation in Haskell/Gofer used them, bu

Re: Visual Haskell /long comment/

2001-04-03 Thread Jerzy Karczmarczuk
oit the continuations. Or use the event/token propagation along the links. But this drives as far from Haskell. More links, just to prove you that I've been thinking about visual side of FP for some time: http://www.cs.ucl.ac.uk/staff/L.Braine/researchdocs.html http://www.cs.orst.edu/~burnett/v

Re: Haskell polemic,...

2001-04-03 Thread Jerzy Karczmarczuk
Brian Boutel wrote: > > Jerzy Karczmarczuk wrote: > > > 2. You neglect, and I suspect that you do it on purpose, that the > >main driving force behind the evolution of Haskell is *RESEARCH*. > >An issue absent from many "popular" languages whi

Re: "Lambda Dance", Haskell polemic,...

2001-04-02 Thread Jerzy Karczmarczuk
Dejan Jelovic wrote: > > Jerzy Karczmarczuk wrote: > > > Over and over again the same silly song, by a person who - visibly - > > had never anything to do with functional languages, who thinks now > > about hiring some C and java programmers living in Belgrade >

Re: "Lambda Dance", Haskell polemic, etc. on O'Reilly site

2001-03-30 Thread Jerzy Karczmarczuk
als as JFP or HOSC, but to try to reach DrDobbs etc. I would add: Software: Practice and experience, and journals on numerical software where one could show some non-trivial implementations of practical, numerical algorithms. Jerzy Karczmarczuk Caen, France PS. What is "hamster dance", anyway?

<    1   2   3   4   >