summaryrefslogtreecommitdiff
path: root/doc/haskell_newbie.mdwn
diff options
context:
space:
mode:
authorJoey Hess2016-03-26 15:35:55 -0400
committerJoey Hess2016-03-26 15:35:55 -0400
commite4ac94860bcc4511370e878e14ef9d45b60aeb2a (patch)
tree3d1abab78e84cf29310c99a77ad414d25fdd3511 /doc/haskell_newbie.mdwn
parent636c7cf5ba42d3636e06f298feae0b9219be6067 (diff)
remove `os` property
The new properties let the type checker know what the target OS is.
Diffstat (limited to 'doc/haskell_newbie.mdwn')
-rw-r--r--doc/haskell_newbie.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/haskell_newbie.mdwn b/doc/haskell_newbie.mdwn
index a150b202..bd343cd6 100644
--- a/doc/haskell_newbie.mdwn
+++ b/doc/haskell_newbie.mdwn
@@ -48,12 +48,12 @@ Finally, you need to define the configuration for each host in the list:
[[!format haskell """
mylaptop :: Host
mylaptop = host "mylaptop.example.com"
- & os (System (Debian Unstable) "amd64")
+ & osDebian Unstable "amd64"
& Apt.stdSourcesList
myserver :: Host
myserver = host "server.example.com"
- & os (System (Debian (Stable "jessie")) "amd64")
+ & osDebian (Stable "jessie") "amd64"
& Apt.stdSourcesList
& Apt.installed ["ssh"]
"""]]