Skip to content

Files

Latest commit

c81b9f5 · Aug 8, 2021

History

History
24 lines (17 loc) · 482 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 482 Bytes

haskell-gi-template

THIS IS AN EXPERIMENTATION PROJECT

I just quickly wrote this to experiment with Gtk in Haskell and Template/Quasi Quotation.

Gtk Quasi Quotation Syntax

import GtkQuoter (gtk)

-- 

[gtk| MyWindow
      <t: text>
      <b: button>
|]
Pattern Meaning
<t: text :> Text displayer
<b: label :> Button with label
<?: label :> Checkbox with label