intoverflow.wordpress.com
I come from Java and want to know what monads are in Haskell | Integer Overflow
https://intoverflow.wordpress.com/2010/07/20/i-come-from-java-and-want-to-know-what-monads-are-in-haskell
I come from Java and want to know what monads are in Haskell. This is an introduction to monads. There are many of these. My goal today is to show how a simple class written in Java could be translated into equivalent functionality in Haskell using some monads, without getting into any of the theory stuff. Hopefully some people coming from a non-Haskell background will get something out of this, though the Haskell syntax is likely to be very WTF-inducing for those who haven’t seen it before. Haskell evan...
codeflow.wordpress.com
The reasons I don’t write all my code in Haskell | Open game programming
https://codeflow.wordpress.com/2011/02/20/the-reasons-i-dont-write-all-my-code-in-haskell
Writing games, just for fun. The reasons I don’t write all my code in Haskell. February 20, 2011 – 11:55 am. Those of you who’ve been checking out my projects might have noticed that I wrote my latest one in C . The two previous projects I had written in Haskell. So why the switch? I’ll write down a small summary of the pros and cons of the both languages that influenced my decision. I’ll start with the things that spoke for Haskell. C compile times, especially with Boost, are abysmal. Some of the other ...
danf.wordpress.com
Testing for Primes: Scheme | ~/proj
https://danf.wordpress.com/2011/03/05/testing-for-primes-scheme
My home in the clouds. Testing for Primes: Scheme. 5 March, 2011. I cannot possibly look at parentheses the same way now. And that’s all thanks to Scheme. I can only see function application. Even when solving the matrix chain multiplication problem, I still had this odd idea that in fact. Is a function applied to some other function. Somehow that made sense. I’ll try testing for primes in 3 ways: finding relevant divisors ( prime? The Fermat primality test ( fermat-prime? Checks all odd numbers. Obvious...
danf.wordpress.com
Bad Scheme | ~/proj
https://danf.wordpress.com/2011/03/12/bad-scheme
My home in the clouds. 12 March, 2011. Define string-tokenize (lambda (s delims) (letrec ( string-tokenize-dirty (lambda (s delims) (cond ( null? S) (list '() ) ( let ( tokens (string-tokenize-dirty (cdr s) delims) ) (if (member (car s) delims) (if (not (null? Car tokens) ) (cons '() tokens) tokens) (cons (cons (car s) (car tokens) (cdr tokens) ) ) ) ) (let ( tokens (string-tokenize-dirty (string- list s) (string- list delims) ) (map list- string (if (null? Car tokens) (cdr tokens) tokens) ) ). What do y...
just1coder.wordpress.com
Lobby pentru calculatoriști | Just a coder... or maybe more
https://just1coder.wordpress.com/2010/05/26/lobby-pentru-calculatoriști
Just a coder… or maybe more. Despre lucrurile din jur ce ar putea fi interesante. Acest mesaj se adresează colegilor de facultate, din anul 3, care la anul vor să urmeze specializarea Calculatoare. Pentru ceilalți cititori, îi rog să citească doar dacă sunt interesați să știe cum decurg lucrurile la poli. Dragii mei colegi, așa suntem tratați la poli, și exemplul de mai sus nu e unul singular. Problema vine de sus, fiindcă banii se dau pe numărul de studenți, nu pe calitate. E și normal că intere...O să ...
automaticacalculatoare.wordpress.com
Cateva lucruri mai putin stiute despre participarea profilor la AWG | Student la Automatica si Calculatoare
https://automaticacalculatoare.wordpress.com/2013/10/09/cateva-lucruri-mai-putin-stiute-despre-participarea-profilor-la-awg
Student la Automatica si Calculatoare. Stiri si barfe despre Facultatea de Automatica si Calculatoare din UPB. Despre mine – vechi. Romanisme: drobul de sare. Romanisme: nerespectarea regulilor →. Cateva lucruri mai putin stiute despre participarea profilor la AWG. Un preambul pentru AWG v6. Distractie placuta in week-end! Vlad Posea a aparat onoarea profilor la Fifa reusind performanta de a inscrie 1 gol in 3 meciuri. Adversarul ghinionist avea restanta la programare. Coincidenta? Conducerea politehnici...
dorinlazar.wordpress.com
Mutăm șandramaua | Fly on the Windscreen
https://dorinlazar.wordpress.com/2011/04/30/mutam-sandramaua
Fly on the Windscreen. Aprilie 30, 2011. Aceasta e ultima postare. Pentru ce urmează, urmăriți http:/ dorinlazar.ro/. From → All Posts. Leave one →. Aprilie 30, 2011 10:31 PM. Vezi că link-ul duce aiurea:D. Mai 1, 2011 8:00 AM. Oy vey…. merci de hint🙂. August 24, 2011 1:45 AM. Pe dorinlazar.ro Opera imi arata probleme in legatura cu un anume certificat…. August 24, 2011 7:15 AM. Lasă un răspuns Anulează răspuns. Introdu aici comentariul tău. Adresa niciodată făcută publică). Scrisesei tu odată despre:.
programmingpraxis.com
Alien Numbers | Programming Praxis
https://programmingpraxis.com/2010/09/24/alien-numbers
A collection of etudes, updated weekly, for the education and enjoyment of the savvy programmer. HOWTO: Posting Source Code. September 24, 2010. Comes to us from the Google Code Jam via Christian Harms’ blog. The first line of input gives the number of cases, N. Test cases follow. Each case is a line formatted as. Alien number source language target language. 8221;#$%&'()* ,-./:;? For each test case, output one line containing “Case # x. 10 Responses to “Alien Numbers”. September 24, 2010 at 8:42 PM.