Re: [Haskell-cafe] *GROUP HUG*

2011-06-01 Thread Ivan Tarasov
On Wed, Jun 1, 2011 at 3:28 AM, Daniel Fischer 
daniel.is.fisc...@googlemail.com wrote:

 On Wednesday 01 June 2011 12:25:06, Adrien Haxaire wrote:
   On Wed, 01 Jun 2011 11:46:36 +0200, Henning Thielemann wrote:
   Really, you can write foldr in terms of foldl? So far I was glad I
   could
   manage the opposite direction.
 foldr (++) (repeat No way! )


How about this:

myFoldr :: (a - b - b) - b - [a] - b
myFoldr f z xs = foldl' (\s x v - s (x `f` v)) id xs $ z

Cheers,
Ivan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


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

2006-09-30 Thread Ivan Tarasov
I've used Mathematica a lot (and, unfortunately, still using it), and written a program, which uses symbolic computations a lot to deal with simplification of multivariate polynomial systems of inequalities. Now I'm trying to get rid of that Mathematica code and rewrite the program in Haskell because writing and debugging a program in Mathematica which is more complex than doing some simple computations is a mess. 
Nevertheless, Mathematica is a great product, especially if you know how to get what you want from it. IvanOn 9/30/06, Tamas K Papp 
[EMAIL PROTECTED] wrote:On Mon, Sep 25, 2006 at 03:27:32PM +0200, Henning Thielemann wrote:
Hi Henning, Actually, laziness allows me to formulate algorithms that look more like the specification of the problem than the solution. E.g., I can formulate the solution of a differential equation in terms of a power series or time
 series in that way. However I have to put some effort into formulating it in a way that works. E.g. I'm only able to solve such equations if it is possible to express the second derivative in terms of the first and the
 zeroth one. Computer algebra systems are essentially better here.In my experience, most people use CAS interactively: they encounter anintegral or a PDE that's difficult to solve, so they type it into
Mathematica (which frequently cannot solve it either, then you gocrazy, numerical, or both ;-).It is more like a sophisticatedsymbolic calculator with a lot of patterns built in for manipulatingexpressions.
Mathematica has features of a programming language, but most people Iknow are not using those when manipulating formulas, and conversely,when _programming_ in Mathematica (ie writing code and then executing
it do so something repetitive) they rarely do anything symbolic.CAS are great for specific purposes, especially for replacing thosetomes which have solutions of equations/ODEs/PDEs/integrals etc inthem, and some CAS have Algol-style flow control and numerical methods
which you can use for solving numerical problems, but the two arealmost never mixed.Best,Tamas___Haskell-Cafe mailing list
Haskell-Cafe@haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Samba/FTP bindings

2006-08-16 Thread Ivan Tarasov
Is there some Haskell library which provides Samba bindings and some FTP client library bindings (e.g. ftplib3)?I started writing the bindings for some of the functions myself for my project but it looks like it is a lot of work and probably someone has done it already.
-- Best regards,Ivan Tarasov
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Why Exotic Languages Are Not Mainstream

2006-08-11 Thread Ivan Tarasov
Is there a console version of lambdabot? I compiled and installed it locally, but it seems to print out the IRC messages, not plain-text messages. Do I need to install a local IRC server or is it possible to switch it to the plain-text mode?
On 8/11/06, Neil Mitchell [EMAIL PROTECTED] wrote:
Hi I also use http://haskell.org/hoogle quite a bit and I keep meaning to install the lambda bot locally on my machine so that I can ask it.If you download and compile hoogle from the darcs repo, there is a
console version included. Of course, lambdabot gives you lots morethan just hoogle, so might still be the one for you.ThanksNeil___Haskell-Cafe mailing list
Haskell-Cafe@haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe
-- Best regards,Ivan Tarasov
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Google Summer of Code 2006

2006-04-25 Thread Ivan Tarasov
Hello,

it's really great to hear that Haskell.org is participating in SoC.

I'm planning to try myself as a student in writing an ATOM/RSS
aggregator in Haskell (I'm really tired of not being able to find a
good one, and also I'd like to learn Haskell as well), still I'm open
to other great ideas. I'm also interested in different branches of
mathematics, and Haskell is great for mathematics, so it is another
option for me.

If you have any questions/suggestions (e.g. you know that there exists
some great aggregator which works on linux/GTK+ :-) )/comments, I'd
like to hear from you!

Ivan.

On 4/24/06, Paolo Martini [EMAIL PROTECTED] wrote:
 Hello,

 Haskell.org is going to partecipate as mentoring organization to the
 Google Summer of Code programme of this year.

 We have formed a group of volunteers taking care of the administrative
 work as well as the mentoring part. The group is listed here:
 http://haskell.org/haskellwiki/Summer_of_Code:_People.

 We are now looking for projects, and mentors.  We've reached number 24
 but we are happily going to add more, Haskell Open Source paid work for
 the summer!

 If you run some active open source program you might want to mentor some
 student who will be working on your code, for example.  Either just add
 your ideas here:
 http://haskell.org/haskellwiki/Summer_of_Code:_Project_suggestions (as
 well as your informations on the People's page) or contact me for details.

 I am also looking for students, I'd like to ear from them if they are
 going to partecipate with Haskell projects, last year I was alone! (I
 did write the bindings to the Cairo vector graphics library and
 integrated them in Gtk2Hs.)

 Details about the programme itself can be found on the official webpage:
 http://code.google.com/summerofcode.html

 Hoping you like the idea as much as me,
 Paolo.
 --
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe