January 1, 2026
Haskell
A snippet with pragma,
operator{.haskell}, emphasis{.haskell}, and a
deleted bit.
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -Wall #-}
module Main (main) where
import Data.Text (Text)
import qualified Data.Text as T
-- | Greet someone by name
greet :: Text -> Text
greet name = "Hello, " <> name <> "!"
main :: IO ()
main = do
let x = 42 :: Int
putStrLn $ T.unpack $ greet "World"
Python
A Python snippet.
Continue reading →