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

2006-09-25 Thread Ch. A. Herrmann
Hi, and/or visual programming (Visual Basic,...) I can only assume you are a) joking a bit, yes , or b) not a visual basic user. also true While Visual Basic is a much insulted language, I have a soft spot for it. However, its not a Visual programming language - its a

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

2006-09-25 Thread Ch. A. Herrmann
Hi, Henning Thielemann wrote: assembly language (Assembler ist deutsch :-) for mysterious reasons it entered the English world. 3GLs: programming based on algorithms (C, Java, ...) 4GSs: domain-specific languages (SQL,...) 5GLs: automatic problem solving (Mathematica, Prolog,...)

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

2006-09-27 Thread Ch. A. Herrmann
Hi, an experienced person at our lab told me that the classification into generations has become unfashioned in the last decade; thus I think I will stay away from using it but argue with concrete abstraction features. Concerning the point someone made about the features of Haskell: * pattern

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

2006-10-05 Thread Ch. A. Herrmann
Hi, Henning Thielemann wrote: ... The notation [f x | x - xs] describes operations on list elements, and looks like the imperative forall x in xs do f x, whereas map f xs is a list transformation. The second one is more abstract, isn't it? for that simple example yes, but what's about

Re: [Haskell-cafe] Multiple stages in Template Haskell

2006-10-11 Thread Ch. A. Herrmann
Hi, because Template Haskell is a compile-time metaprogramming language, there is no metaprogram left after the first stage. Thus, it does not make sense, conceptually, to have more than one stage. In contrast, in MetaOCaml, you can generate code at run time that generates code at run time

[Haskell-cafe] CFP: PAPP 2006

2005-10-05 Thread Ch. A. Herrmann
- Please accept our apologies if you have received multiple copies. Please feel free to distribute it to those who might be interested. -

Re: Revamping the numeric classes

2001-02-07 Thread Ch. A. Herrmann
moved to haskell-cafe Ketil E.g. way back, I wrote a simple differential equation solver. Ketil Now, the same function *could* have been applied to vector Ketil functions, except that I'd have to decide on how to implement Ketil all the "Num" stuff that really didn't fit well.

Re: Pointers in Haskell??

2001-12-07 Thread Ch. A. Herrmann
Hello, Bryan == Bryan Hayes (Hayes Technologies) [EMAIL PROTECTED] writes: Bryan My question is: Bryan Does Haskell principally not need pointers (i.e. in case of 2 Bryan data structures needing to reference an other very large data Bryan structure) or is this a design flaw or

Re: a universal printer for Haskell?

2002-02-19 Thread Ch. A. Herrmann
Hi Haskellers, Bernard == Bernard James POPE [EMAIL PROTECTED] writes: Bernard Handling functions is always going to be hard. Actually, a Bernard related issue in Haskell is what do you do with partially Bernard evaluated structures? Certainly in some circumstances you Bernard

Re: Simple Question

2002-05-16 Thread Ch. A. Herrmann
Hi, JiJie 20) append' x:xs y = [(init x:xs)] ++ [(tail xs)++[y]] function application (blank) binds stronger than :, thus you should write append' (x:xs) y = ... Cheers -- Christoph ___ Haskell-Cafe mailing list [EMAIL PROTECTED]

Re: Simple Question Follow Up

2002-05-16 Thread Ch. A. Herrmann
To make it short: Main let append' xs y = init xs ++ [last xs ++ [y]] This works for the three given examples but maybe incorrect for the task you have in mind, e.g., if xs is empty. Main append' [ [1, 2], [3, 4], [5] ] 6 [[1,2],[3,4],[5,6]] Main append' [ ['1', '2'], ['3'] ] '4' [12,34] Main

Re: Problems with IO

2002-09-24 Thread Ch. A. Herrmann
Hi Pavel, pavel == pavel [EMAIL PROTECTED] writes: pavel My task is to write a parser for some language (TSG). pavel ... pavel Why should I use that do thing? What is so magical in it? pavel PS: Please, don't say that I'm stupid, I just have problem pavel with