Saturday, July 12, 2014

1HaskellADay: Up, up, and away!

I've taken it upon myself to submit problems, then show the solutions, for @1HaskellADay. I started this work on July 1st, 2014. So the next set of entries serve to collect what I've done, both problems and solutions, and, if a particular day posed a particularly interesting problem, that I solved, or, that I didn't solve, I'll capture that here, too.


The problems are free-form meditations based off, well, nowadays, whatever little puzzle strikes my fancy, ... and no, 'write a function to reverse the (order of the) elements of a list' isn't particularly fancy-striking to me these days.
January 2015
  • January 29th, 2015: For today's haskell problem we peace-out by making triangles, http://lpaste.net/119524 not war. And our solution: http://lpaste.net/119562 make my day, punk! ... with triangles (extra-spicy, please)! Bleh, our non-partial solution: no fun, no triangles! http://lpaste.net/119562 Can you fix it?
  • January 28th, 2015: Criss-cross; http://lpaste.net/119353 APPLESAUCE! ... but not Christopher Cross for today's Haskell problem. Anndddd, safety first, or don't cross that yellow line! http://lpaste.net/119434 for today's solution.
  • January 27th, 2015: What's 'All in the Family'? http://lpaste.net/119319 Elegance is. Today's Haskell problem is about a little bit more elegance. And lines. And triangles. Our solution http://lpaste.net/119326 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 http://lpaste.net/119228 In our solution we put the triangles into a  Graph, counting crows http://lpaste.net/119256 ... I meant: 'triangles.' 
  • January 23rd, 2015: A simple request on this fine Friday: solve the 'aug'mented matrix for today's #haskell problem http://lpaste.net/119049 Row-echelon solver SOLVED! (WOOT!s included for free!) lpaste.net/119102
  • January 22nd, 2015: Row-echelon form; not solved yet, http://lpaste.net/118964 but PDC! ('pretty durn closer!') Aug! Our matrix has been row-echeloned! http://lpaste.net/119045 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 http://lpaste.net/118906 ... and rollin' the vector-addition solution is posted at http://lpaste.net/118907
  • January 20th, 2015: May I introduce Miss Abby Normal http://lpaste.net/118862 for today's Haskell problem? Vector normalization for reduced row-echelon form. NORM! A solution to today's Haskell problem is CHEERSfully posted at http://lpaste.net/118898
  • January 19th, 2015: Oh, something new for today's #haskell problem? Well, then: how about a ... MATH PROBLEM! ... 'sorta' Eheh. http://lpaste.net/118714 We have a guest who decided to solve the problem: Þor (Thor). http://lpaste.net/118729 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! http://lpaste.net/118571
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 http://lpaste.net/118488
  • January 14th, 2015: More fun with fractals for today's #haskell problem: plotting the Harriss Spiral http://lpaste.net/118414
  • 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 http://lpaste.net/118367
  • January 9th, 2015: In which it is shown that snarkiness is unavoidable when @geophf presents a Mensa-puzzle for today's #haskell problem http://lpaste.net/118121
  • January 8th, 2015: Cressida, a smart little girl (in fact: a Mensan), would like you to determine her age for today's #haskell problem http://lpaste.net/118059
  • January 7th, 2015: Fibbing down-low on the fibs! for today's haskell problem lpaste.net/118013
  • January 5th, 2015: I'm looking over a 4-leaf tuple/That I overlooked before! #haskell problem today: over definition for Lens-on-tuples http://lpaste.net/117906 A solution is 'overdefined' by @bretthall at http://lpaste.net/117934
  • 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 http://lpaste.net/117815 Sing with me! set _2 "love" (1, 2) A solution is offered by @bretthall at http://lpaste.net/117933

No comments: