Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon


Hackett - Programming language

< >

Hackett is a programming language created in 2017 by Alexis King.

#845on PLDB 6Years Old 1.2kUsers
0Books 0Papers

Hackett is an attempt to implement a Haskell-like language with support for Racket鈥檚 macro system, built using the techniques described in the paper Type Systems as Macros.

Example from the web:
#lang hackett (data (Maybe a) Nothing (Just a)) (def x : Integer (let ([y 3] [z 7]) {y + z})) (class (Show a) [show : {a -> String}]) (instance (forall [a] (Show a) => (Show (Maybe a))) [show (位* [[(Just x)] {"(Just " ++ (show x) ++ ")"}] [[Nothing ] "Nothing"])])
pop-protocol.html 路 hackett.html 路 express.html

View source

- Build the next great programming language Search v2023 Day 208 Docs Acknowledgements Traffic Traffic Today Mirrors GitHub