Haskell, line length 6, (削除) 400 (削除ここまで) 343(削除) 343 (削除ここまで) 336 bytes
{main=
putStr
$s++((s
>>=(++
":\n")
.show
=<<s)
++
"[]}";
s='{':
'm':
'a':
'i':
'n':
'=':
'\n':
'p':
'u':
't':
'S':
't':
'r':
'\n':
'$':
's':
'+':
'+':
'(':
'(''s':
'\n':
'>':
'>':
'=':
'(':
'+':
'+':
'\n':
'"':
':':
'\\':
'n':
'"':
')':
'\n':
'.':
's':
'h':
'o':
'w':
'\n':
'=':
'<':
'<':
's':
')':
'\n':
'+':
'+':
'\n':
'"':
'[':
']':
'}':
'"':
';':
'\n':
's':
'=':
[]}
Try it online! I'mTry it online! I'm not aware of a way around putStr, thus the line length of 6. The outer curly braces allow to get rid of the otherwerwise required indention after a newline within a single declaration.
Haskell, line length 6, (削除) 400 (削除ここまで) 343 bytes
{main=
putStr
$s++((
++
":\n")
.show
=<<s)
++
"[]}";
s='{':
'm':
'a':
'i':
'n':
'=':
'\n':
'p':
'u':
't':
'S':
't':
'r':
'\n':
'$':
's':
'+':
'+':
'(':
'(':
'\n':
'+':
'+':
'\n':
'"':
':':
'\\':
'n':
'"':
')':
'\n':
'.':
's':
'h':
'o':
'w':
'\n':
'=':
'<':
'<':
's':
')':
'\n':
'+':
'+':
'\n':
'"':
'[':
']':
'}':
'"':
';':
'\n':
's':
'=':
[]}
Try it online! I'm not aware of a way around putStr, thus the line length of 6. The outer curly braces allow to get rid of the otherwerwise required indention after a newline within a single declaration.
Haskell, line length 6, (削除) 400 (削除ここまで) (削除) 343 (削除ここまで) 336 bytes
{main=
putStr
$s++(s
>>=(++
":\n")
.show)
++
"[]}";
s='{':
'm':
'a':
'i':
'n':
'=':
'\n':
'p':
'u':
't':
'S':
't':
'r':
'\n':
'$':
's':
'+':
'+':
'(':
's':
'\n':
'>':
'>':
'=':
'(':
'+':
'+':
'\n':
'"':
':':
'\\':
'n':
'"':
')':
'\n':
'.':
's':
'h':
'o':
'w':
')':
'\n':
'+':
'+':
'\n':
'"':
'[':
']':
'}':
'"':
';':
'\n':
's':
'=':
[]}
Try it online! I'm not aware of a way around putStr, thus the line length of 6. The outer curly braces allow to get rid of the otherwerwise required indention after a newline within a single declaration.
Haskell, line length 6, 400(削除) 400 (削除ここまで) 343 bytes
{main=
putStr
$s++
concat((
[show++
c++'":'\n")
:"\n"|.show
c<-s]=<<s)
++
"[]}";
s='{':
'm':
'a':
'i':
'n':
'=':
'\n':
'p':
'u':
't':
'S':
't':
'r':
'\n':
'$':
's':
'+':
'+':
'\n':
'c':
'o':
'n':
'c':
'a''(':
't''(':
'\n':
'[':
's''+':
'h''+':
'o''\n':
'w''"':
'\n'':
'c'':
'+''\\':
'+''n':
'\'''"':
':)':
'\'':
'\n':
':.':
'"':
'\\''s':
'n''h':
'"''o':
'|''w':
'\n':
'c''=':
'<':
'-''<':
's':
']'')':
'\n':
'+':
'+':
'\n':
'"':
'[':
']':
'}':
'"':
';':
'\n':
's':
'=':
[]}
Try it online! Try it online! I'm not aware of a way around putStr, thus the line length of 6. The outer curly braces allow to get rid of the otherwerwise required indention after a newline within a single declaration.
Haskell, line length 6, 400 bytes
{main=
putStr
$s++
concat
[show
c++':'
:"\n"|
c<-s]
++
"[]}";
s='{':
'm':
'a':
'i':
'n':
'=':
'\n':
'p':
'u':
't':
'S':
't':
'r':
'\n':
'$':
's':
'+':
'+':
'\n':
'c':
'o':
'n':
'c':
'a':
't':
'\n':
'[':
's':
'h':
'o':
'w':
'\n':
'c':
'+':
'+':
'\'':
':':
'\'':
'\n':
':':
'"':
'\\':
'n':
'"':
'|':
'\n':
'c':
'<':
'-':
's':
']':
'\n':
'+':
'+':
'\n':
'"':
'[':
']':
'}':
'"':
';':
'\n':
's':
'=':
[]}
Try it online! I'm not aware of a way around putStr, thus the line length of 6. The outer curly braces allow to get rid of the otherwerwise required indention after a newline within a single declaration.
Haskell, line length 6, (削除) 400 (削除ここまで) 343 bytes
{main=
putStr
$s++((
++
":\n")
.show
=<<s)
++
"[]}";
s='{':
'm':
'a':
'i':
'n':
'=':
'\n':
'p':
'u':
't':
'S':
't':
'r':
'\n':
'$':
's':
'+':
'+':
'(':
'(':
'\n':
'+':
'+':
'\n':
'"':
':':
'\\':
'n':
'"':
')':
'\n':
'.':
's':
'h':
'o':
'w':
'\n':
'=':
'<':
'<':
's':
')':
'\n':
'+':
'+':
'\n':
'"':
'[':
']':
'}':
'"':
';':
'\n':
's':
'=':
[]}
Try it online! I'm not aware of a way around putStr, thus the line length of 6. The outer curly braces allow to get rid of the otherwerwise required indention after a newline within a single declaration.
Haskell, line length 6, 400 bytes
{main=
putStr
$s++
concat
[show
c++':'
:"\n"|
c<-s]
++
"[]}";
s='{':
'm':
'a':
'i':
'n':
'=':
'\n':
'p':
'u':
't':
'S':
't':
'r':
'\n':
'$':
's':
'+':
'+':
'\n':
'c':
'o':
'n':
'c':
'a':
't':
'\n':
'[':
's':
'h':
'o':
'w':
'\n':
'c':
'+':
'+':
'\'':
':':
'\'':
'\n':
':':
'"':
'\\':
'n':
'"':
'|':
'\n':
'c':
'<':
'-':
's':
']':
'\n':
'+':
'+':
'\n':
'"':
'[':
']':
'}':
'"':
';':
'\n':
's':
'=':
[]}
Try it online! I'm not aware of a way around putStr, thus the line length of 6. The outer curly braces allow to get rid of the otherwerwise required indention after a newline within a single declaration.