Guest User

Untitled

a guest
Apr 30th, 2012
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. (def-phase-fn cake-phase [x y] (+ x) (+ y))
  2. pallet.extensions> (cake-phase 3 1 2)
  3.  
  4. ;;Invalid session map in phase.
  5. ;;session is 4
  6. ;;Problem probably caused by subphase:
  7. ;; (+ x)
  8. ;;Check for non crate functions, improper crate functions, or
  9. ;; problems in threading the session map in your phase
  10. ;; definition. A crate function is a function that takes a session
  11. ;; map and other arguments, and returns a modified session
  12. ;; map. Calls to crate functions are often wrapped in a threading
  13. ;; macro, -> or pallet.phase/phase-fn, to simplify chaining of the
  14. ;; session map argument.
  15. ;; [Thrown class clojure.contrib.condition.Condition]
Advertisement
Add Comment
Please, Sign In to add comment