Contact Us!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

| Download

Logic of "all" + verbs + relative clauses, for a class at Indiana University

Path: ARC / Main.hs
Views: 7221
1
module Main where
2
3
import Graphics.Static
4
import Graphics.Static.ColorNames
5
6
text :: CanvasFree ()
7
text = do
8
font "italic 60pt Calibri"
9
lineWidth 6
10
strokeStyle blue
11
fillStyle goldenrod
12
textBaseline TextBaselineMiddle
13
strokeText "Hello" 150 100
14
fillText "Hello World!" 150 100
15
16
main :: IO ()
17
main = writeCanvasDoc "Text.html" 600 400 text
18