Created
April 24, 2012 07:49
-
-
Save gclaramunt/2477626 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val ins=List("ejp mysljylc kd kxveddknmc re jsicpdrysi","rbcpc ypc rtcsra dkh wyfrepkym veddknkmkrkcd","de kr kd eoya kw aej tysr re ujdr lkgc jv") | |
val outs=List("our language is impossible to understand","there are twenty six factorial possibilities","so it is okay if you want to just give up") | |
val dict=Map() ++ ins.zip(outs).flatMap( x=>x._1.toList.zip(x._2.toList))+('a'->'y')+('o'->'e')+('z'->'q') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment