Explorar o código

Implement `stringToMessage`

DricomDragon %!s(int64=5) %!d(string=hai) anos
pai
achega
e886445662
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      tp/rsa/main.hs

+ 8 - 0
tp/rsa/main.hs

@@ -0,0 +1,8 @@
+-- RSA LAB
+
+import Data.Char
+
+type Message = [Int]
+
+stringToMessage::String -> Message
+stringToMessage = map ord