Skip to content

Instantly share code, notes, and snippets.

@danmaq
Last active January 27, 2018 07:20
Show Gist options
  • Save danmaq/5a3062e6d875d4693ca84cd3f05a9826 to your computer and use it in GitHub Desktop.
Save danmaq/5a3062e6d875d4693ca84cd3f05a9826 to your computer and use it in GitHub Desktop.
๐Ÿ˜บ๐Ÿ’ก ใ‚ตใƒผใƒใƒซ้–ขๆ•ฐใจใ‚ใ‹ใ‚Š้–ขๆ•ฐใฎ็ต„ใฟๅˆใ‚ใ› https://twitter.com/danmaq/status/828743554574880768 #ใ‚†ใ‚‹ใ‚†ใ‚Š #ใ‘ใ‚‚ใฎใƒ•ใƒฌใƒณใ‚บ
let ใ‚ตใƒผใƒใƒซ x = sprintf "ใใฟใฏ%sใชใƒ•ใƒฌใƒณใ‚บใชใ‚“ใ ใญ๏ผ" x
let ใ‚ใ‹ใ‚Š x = sprintf "ใ‚ใใ„%sใ‚ใ‹ใ‚Š%sใ ใ„ใ™ใ๏ผ" x x
let Mixed x = ใ‚ตใƒผใƒใƒซ (ใ‚ใ‹ใ‚Š (ใ‚ตใƒผใƒใƒซ (ใ‚ใ‹ใ‚Š x)))
[<EntryPoint>]
let main argv =
printfn "%A" (Mixed "ใ‚ซใƒใƒณใกใ‚ƒใ‚“")
0
// Question: https://twitter.com/danmaq/status/828743554574880768
// Result: "ใใฟใฏใ‚ใใ„ใใฟใฏใ‚ใใ„ใ‚ซใƒใƒณใกใ‚ƒใ‚“ใ‚ใ‹ใ‚Šใ‚ซใƒใƒณใกใ‚ƒใ‚“ใ ใ„ใ™ใ๏ผใชใƒ•ใƒฌใƒณใ‚บใชใ‚“ใ ใญ๏ผใ‚ใ‹ใ‚Šใใฟใฏใ‚ใใ„ใ‚ซใƒใƒณใกใ‚ƒใ‚“ใ‚ใ‹ใ‚Šใ‚ซใƒใƒณใกใ‚ƒใ‚“ใ ใ„ใ™ใ๏ผใชใƒ•ใƒฌใƒณใ‚บใชใ‚“ใ ใญ๏ผใ ใ„ใ™ใ๏ผใชใƒ•ใƒฌใƒณใ‚บใชใ‚“ใ ใญ๏ผ"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment