在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):yogsototh/hl开源软件地址(OpenSource Url):https://github.com/yogsototh/hl开源编程语言(OpenSource Language):HTML 98.0%开源软件介绍(OpenSource Introduction):
haskell-langHaskell web site. Editing pagesIf you're just here to contribute a content change, read this section. All pages that are produced by markdown are here. To contribute changes simply fork this repo and open a pull request. It will be merged and redeployed in short order. If you want to edit a page which has some custom code in it, you'll want to see the next sections for building and running instructions. Maybe also take a look at architecture. If you want to include Haskell code samples in markdown, use:
If you want to include Haskell code samples in Haskell code pages, use: haskellPre "main = print 123"
haskellCode "peyton `simon` jones" Pre for BuildingClone the repo:
You need one of these GHC versions:
Create an hsenv:
You need the right package set. Add the following to your
Now just run:
To do the above cabal update, submodule, install, etc. Done! RunningIt runs at: http://localhost:1990/ Manually running the binary:
Running from inside GHCi:
Run this every time you want to update the web handler in-place, as in this demo. If you use Emacs, you can just bind it to a key: (define-key html-mode-map [f12] 'haskell-process-reload-devel-main) Just hit f12 to recompile and restart. ArchitectureIt uses Yesod and an MVC organization.
Templates are written in senza, a convenience wrapper to blaze-html. There is presently no database. StyleI use this style for code. You don't have to use this style, I can reformat patches as they come in. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论