Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.35 KB | None | 0 0
  1. object Solution {
  2.  
  3.   /** 1. Conditional Expression */
  4.   def numerical =
  5.       """
  6.        (...)
  7.      """
  8.  
  9.   /** 2. Curried `cons` */
  10.   def curriedCons =
  11.       """
  12.        (...)
  13.      """
  14.  
  15.   /** 3. Recursive Factorial Function */
  16.   def fact =
  17.       """
  18.        (...)
  19.      """
  20.  
  21.   /** 4. Capture Avoidance */
  22.   def capturing =
  23.       """
  24.        (...)
  25.      """
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement