Created
April 9, 2021 15:52
-
-
Save brainrake/e960f9538b0da8ab083ea7b153d8dd3c 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
module Quine exposing (main) | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
main = | |
Html.textarea | |
[ rows 30 | |
, cols 160 | |
, value | |
((\x -> x ++ "\"\"\"" ++ String.replace "\\" "\\\\" x ++ "\"\"\")\n ]\n []\n") """module Quine exposing (main) | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
main = | |
Html.textarea | |
[ rows 30 | |
, cols 160 | |
, value | |
((\\x -> x ++ "\\"\\"\\"" ++ String.replace "\\\\" "\\\\\\\\" x ++ "\\"\\"\\")\\n ]\\n []\\n") """) | |
] | |
[] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment