Talk:Mandelbrot set: Difference between revisions

→‎java: new section
(→‎making C version work: Edit my comment. I also deleted #include <err.h>)
(→‎java: new section)
 
(6 intermediate revisions by 4 users not shown)
Line 38:
 
:: If you have missing entry points, please post their names; then we might know which library is missing. If anyone has no err.h, try deleting the <code>#include <err.h></code> line; I deleted it from this wiki page. --[[User:Kernigh|Kernigh]] 22:08, 28 July 2011 (UTC)
 
:::Using LDLIBS rather than CFLAGS worked. Thanks. --[[User:Rdm|Rdm]] 13:07, 29 July 2011 (UTC)
 
== Task description !!!! ==
 
Hi. Some programs make ASCII image on the screen, some make colur image to bmp, some to ppm file. I think that it makes comparisen very difficult ( ? impossible ). Regards --[[User:Adam majewski|Adam majewski]] 07:47, 26 November 2011 (UTC)
 
== Haskell ==
 
Hi. Haskell version works, but what means "\" in line
 
mandelbrot a = iterate (\z -> z^2 + a) 0 !! 50
 
????? Regards. --[[User:Adam majewski|Adam majewski]] 07:53, 26 November 2011 (UTC)
 
:<code>\</code> is how you write an anonymous function in Haskell (also known as lambda in some other functional languages). The symbol <code>\</code> is supposed to resemble the letter λ (lambda), which is used to write anonymous functions in lambda calculus. --[[User:Spoon!|Spoon!]] 10:59, 26 November 2011 (UTC)
 
=="One liners"==
Some nice contributions made in Haskell have been submitted as quoted code squashed, for some reason, into a "one-liner" format.
 
A Rosetta line consists of 80 chars at most.
Perhaps drop the "one-liner" framing, which costs legibility without adding value ?
 
Ormolu is a good standard formatter.
 
(and Hlint helps to iron out many marked or unexpected formulations). [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 09:07, 1 August 2021 (UTC)
 
== java ==
 
It works.--[[User:Xdv|xarilaos]] ([[User talk:Xdv|talk]]) 14:37, 20 January 2022 (UTC)
Anonymous user