Advertisement
Guest User

silmal hoon school 101 week 5 part 2

a guest
Dec 15th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. :: the comment ":: code belongs here" indicates that one or more lines of code are needed to make this section of the program work.
  2.  
  3. |= raw=tape
  4. =<
  5. (convert (cuss raw))
  6. |%
  7. ++ convert
  8. |= raw=tape
  9. ^- tape
  10. %+ turn raw
  11. |= c=cord
  12. :: (~(got by a) b) produces the value located at key b within map a
  13. =/ chart (~(got by table) c)
  14. chart
  15. ++ table
  16. %- my
  17. :~ :- 'A' '.-'
  18. :- 'B' '-...'
  19. :- 'C' '-.-.'
  20. :- 'D' '-..'
  21. :- 'E' '.'
  22. :- 'F' '..-.'
  23. :- 'G' '--.'
  24. :- 'H' '....'
  25. :- 'I' '..'
  26. :- 'J' '.---'
  27. :- 'K' '-.-'
  28. :- 'L' '.-..'
  29. :- 'M' '--'
  30. :- 'N' '-.'
  31. :- 'O' '---'
  32. :- 'P' '.--.'
  33. :- 'Q' '--.-'
  34. :- 'R' '.-.'
  35. :- 'S' '...'
  36. :- 'T' '-'
  37. :- 'U' '..-'
  38. :- 'V' '...-'
  39. :- 'W' '.--'
  40. :- 'X' '-..-'
  41. :- 'Y' '-.--'
  42. :- 'Z' '--..'
  43. :- '0' '-----'
  44. :- '1' '.----'
  45. :- '2' '..---'
  46. :- '3' '...--'
  47. :- '4' '....-'
  48. :- '5' '.....'
  49. :- '6' '-....'
  50. :- '7' '--...'
  51. :- '8' '---..'
  52. :- '9' '----.'
  53. ==
  54. --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement