This file contains 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
class DoNotation | |
class DSL | |
def initialize(&block) | |
@first_lets = [] | |
@proc_sources = [] | |
@variables = Hash[] |
This file contains 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
--ちんちんっぽいことするやつ | |
import System.Random | |
chimpo :: String -> IO String | |
randomString :: String -> IO String | |
chimpo c = do s <- randomString c | |
if take 4 c == "ABCDE" | |
then return $ c ++ ("なんか終わりました" ++ (show (length c ))) | |
else chimpo s |
OlderNewer