Sunday, February 1, 2015

January 2015 1HaskellADay Problems and Solutions

January 2015
  • January 30th, 2015: Catted Prime Factors Today's answer shows us composed primes. No. Wait. Primes aren't composed, by definition, right? Well, anyway...
  • January 29th, 2015: For today's haskell problem we peace-out by making triangles, not war. And our solution: make my day, punk! ... with triangles (extra-spicy, please)! Bleh, our non-partial solution: no fun, no triangles! Can you fix it?
  • January 28th, 2015: Criss-cross; APPLESAUCE! ... butnot Christopher Cross for today's Haskell problem. Anndddd, safety first, or don't cross that yellow line! for today's solution.
  • January 27th, 2015: What's 'All in the Family'? Elegance is. Today's Haskell problem is about a little bit more elegance. And lines. And triangles. Our solution involves slopes and stuff ... from Elementary School. Remember?
  • January 26th, 2015: Just a simple counting-triangles problem using Data.Graph for today's #haskell problem In our solution we put the triangles into a  Graph, counting crows ... I meant: 'triangles.' 
  • January 23rd, 2015: A simple request on this fine Friday: solve the 'aug'mented matrix for today's #haskell problem Row-echelon solverSOLVED! (WOOT!s included for free!)
  • January 22nd, 2015: Row-echelon form; not solved yet, but PDC! ('pretty durn closer!') Aug! Our matrix has been row-echeloned! A solution for today's Haskell problem.
  • January 21st, 2015: Vectors are Num(bers), too ... adding two (same-length) vectors for today's Haskell problem ... and rollin' the vector-addition solution is posted at
  • January 20th, 2015: May I introduce Miss Abby Normal for today's Haskell problem? Vector normalization for reduced row-echelon form. NORM! A solution to today's Haskell problem is CHEERSfully posted at
  • January 19th, 2015: Oh, something new for today's #haskell problem? Well, then: how about a ... MATH PROBLEM! ... 'sorta' Eheh. We have a guest who decided to solve the problem: Þor (Thor). THOR SMASH! No. Wait. That's the Hulk. Never mind.
  • January 16th, 2015: Let it snow, let it snow, let it matrix-solver! for today's #haskell problem with (Ooh! Ooh!) pretty matrix pictures!
Picture. Terminal. Snowflake-matrix. BlinchtenLightzen.
  • January 15th, 2015: n, k, and b are all you need (oh, and the answers) for today's Haskell problem
  • January 14th, 2015: More fun with fractals for today's #haskell problem: plotting the Harriss Spiral
  • January 13th, 2015: Yesterday we did not learn about the (constructive?) truth of 2+2 = 4. Sorry. Today we try to equate two circled rows
  • January 9th, 2015: In which it is shown that snarkiness is unavoidable when @geophf presents a Mensa-puzzle for today's #haskell problem
  • January 8th, 2015: Cressida, a smart little girl (in fact: a Mensan), would like you to determine her age for today's #haskell problem
  • January 7th, 2015: Fibbing down-low on the fibs! for today's haskell problem
  • January 5th, 2015: I'm looking over a 4-leaf tuple/That I overlooked before! #haskell problem today: over definition for Lens-on-tuples A solution is 'overdefined' by @bretthall at
  • January 4th, 2015: It's a new year, and I've just woken up and smelled the Lens-coffee! Bob Marley welcomes you to the New Year with a #haskell problem about #lenses Sing with me! set _2 "love" (1, 2) A solution is offered by @bretthall at