This website requires JavaScript.
Explore
Help
Sign In
roc-lang
/
roc
Watch
1
Star
1
Fork
0
You've already forked roc
mirror of
https://github.com/roc-lang/roc.git
synced
2024-10-27 10:48:04 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
4981f081a7
roc
/
examples
/
hello-world
/
c-platform
/
helloC.roc
7 lines
107 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Rename hello examples from snake_case to camelCase for consistency
2022-03-08 07:09:19 +03:00
app "helloC"
Add multi-platform Hello World example
2022-02-26 09:56:49 +03:00
packages { pf: "." }
update hello-world
2020-12-09 01:35:41 +03:00
imports []
Rename `base` package to `pf` everywhere, to match tutorial
2021-12-12 15:55:46 +03:00
provides [ main ] to pf
Switch examples to use app modules
2020-04-11 23:17:50 +03:00
Re-append newline after "Hello, World!" output See https://github.com/rtfeldman/roc/pull/2470#discussion_r821295601 (@rtfeldman has "seen some terminals get really unhappy if a program prints things and doesn't print a newline to stdout before exiting")
2022-03-08 07:03:36 +03:00
main = "Hello, World!\n"
Reference in New Issue
Copy Permalink