Sfoglia il codice sorgente

Added haskell annotation to interactive code block (to see how github responds)

Getty Ritter 9 anni fa
parent
commit
f2b902cf21
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -36,7 +36,7 @@ are isomorphic, as one or the other might be better for processing
 S-expression data, and the third represents only a subset of possible
 S-expressions.
 
-~~~~
+~~~~.haskell
 -- cons-based representation
 data SExpr atom
   = SCons (SExpr atom) (SExpr atom)
@@ -67,7 +67,7 @@ representations are provided, but you can also modify a
 representation using the `asRich` and `asWellFormed`
 functions.
 
-~~~~
+~~~~.haskell
 *Data.SCargot.General> decode spec "(a b)"
 Right [SCons (SAtom "a") (SCons (SAtom "b") SNil)]
 *Data.SCargot.General> decode (asRich spec) "(a b)"