Perl 6 - the future is here, just unevenly distributed

IRC log for #webwork, 2012-09-14

| Channels | #webwork index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:23 Paul_Pearson joined #webwork
00:36 rbeezer joined #webwork
12:09 goehle joined #webwork
13:16 aubreyja joined #webwork
14:29 Paul_Pearson joined #webwork
14:45 eee-blt hi, a quick question: if i create a table of ans_rules for students to fill in, how can i grade the individual answers?
14:46 eee-blt i have tried 'map { ANS(cmp($_)) } @answers' but webwork is barfing on this
14:47 mgage try ANS(map {cmp($_)} @answers)
14:47 mgage ANS accepts a list
14:49 mgage also checkout MathObjects -- there might be more sophisticated methods for doing what you want which would give better error messages to students.
14:49 mgage not sure why your example didn't work also
14:51 eee-blt hmm, ANS(map {cmp($_)} @answers) is also causing webwork to barf
14:51 mgage actually I see -- what is cmp?  usually you use num_cmp
14:52 mgage or fun_cmp   or   MathObject->cmp()  -- are you using math objects
14:53 mgage if the answers are math objects then map {$_->cmp} @answers
14:53 eee-blt thanks, i should have been using num_cmp
15:58 Paul_Pearson joined #webwork
16:09 CIA-47 joined #webwork
17:35 djun joined #webwork
17:46 Paul_Pearson joined #webwork
18:14 djun joined #webwork
18:54 djun_ joined #webwork
20:09 CIA-47 joined #webwork
20:20 Paul_Pearson joined #webwork
20:22 CIA-47 WeBWorK-NPL: jj * r3057 /trunk/NationalProblemLibrary/Rochester/setLinearAlgebra14TransfOfRn/ur_la_14_22.pg: Fixed bug 2429, typo in question.
21:28 djun joined #webwork
21:31 ionparticle joined #webwork
22:34 rbeezer joined #webwork

| Channels | #webwork index | Today | | Search | Google Search | Plain-Text | summary