First a few notes: clojuredocs https://clojuredocs.org/ (community driven docs you were referring to is out of date; still on clojure 1.9).
Getting Started Guide (recommended):
Official Documentation:
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
module MyLib where | |
import Data.Kind (Type) | |
-- This is how we're normally write a recursive list data structure | |
-- | |
data List a = Nil | Cons a (List a) |
{-# LANGUAGE BlockArguments #-} | |
module Main where | |
main :: IO () | |
main = do | |
babyShark | |
do do do do do do babyShark | |
do do do do do do babyShark | |
do do do do do do babyShark |
{-# LANGUAGE RankNTypes #-} | |
{-# LANGUAGE ImpredicativeTypes #-} | |
{-# LANGUAGE TemplateHaskell #-} | |
module ObfuscatedSKI where | |
import Unsafe.Coerce (unsafeCoerce) | |
-------------------------------------------------------------------------------- | |
-- A Lambda to SKI Combinator Compiler, written entirely using SKI Combinators | |
-- |
#include <assert.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <X11/Xlib.h> /* of course */ | |
#include <X11/Xutil.h> /* duuuh */ | |
#include <sys/ipc.h> | |
#include <sys/shm.h> | |
#include <X11/extensions/XShm.h> /* obviously */ |
First a few notes: clojuredocs https://clojuredocs.org/ (community driven docs you were referring to is out of date; still on clojure 1.9).
Getting Started Guide (recommended):
Official Documentation: