Coder Profile - Show off your skills, get a coder profile.
 
 
 
code pin board ProjectEuler1 Download Source Code
Author Details Code Information
otoom ( Ant )

Pinned 4 Codes
Posted 10 Coding Articles

Send A Message
View Coders Profile
Language Haskell
Expires Never
Length 168 Characters (5 Lines)
Password no password
Description

Project Euler challenge one in Haskell.
Just started to learn it... so here.
  1. --GHCi version
  2. sum [y | y <- [1..999], y `mod` 3 == 0 || y `mod` 5 == 0]
  3.  
  4. --Source version
  5. main = print (sum [y | y <- [1..999], y `mod` 3 == 0 || y `mod` 5 == 0] )
code pin board Back To Code Pin Board Post New Code
Please login to post comments.
Page 1 of 1
 
 
Part of the MyPingle Network
Development Blog :: Make A Donation :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents
Version 1.44.00
Copyright © 2007 - 2008, Scott Thompson, All Rights Reserved