mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-18 03:12:40 +00:00
Add intro_* examples.
Former-commit-id: fb66b98fa121ec36b903ac92057fc0405e68b93b
This commit is contained in:
parent
96bac67135
commit
a256dd0a96
3 changed files with 228 additions and 0 deletions
7
examples/intro_hello.hs
Normal file
7
examples/intro_hello.hs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env stack
|
||||
-- stack runghc --package reanimate
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
import Reanimate
|
||||
|
||||
main :: IO ()
|
||||
main = reanimate $ addStatic (mkBackground "cyan") $ staticFrame 1 $ mkText "Hello world"
|
||||
Loading…
Reference in a new issue