ミラクルはすける勉強会#0
Upcoming SlideShare
Loading in...5
×
 

ミラクルはすける勉強会#0

on

  • 2,994 views

 

Statistics

Views

Total Views
2,994
Views on SlideShare
2,989
Embed Views
5

Actions

Likes
5
Downloads
10
Comments
0

1 Embed 5

https://twitter.com 5

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

ミラクルはすける勉強会#0 ミラクルはすける勉強会#0 Presentation Transcript

  • * Attoparsec - 高速パーサコンビネータ* Gitit - VCSバックエンドWiki* Gtk2hs - Haskellから使えるGtkラッパ* Hakyll - 静的Webサイト生成* House - Haskell製OS* Mighttpd - nginxぐらい速いWebサーバ* Monadius - グラディウスっぽいゲーム* Pandoc - ドキュメントフォーマット変換* Yesod - RailsっぽいWebフレームワークその他↓にたくさん登録されてますhttp://hackage.haskell.org/packages/archive/pkg-list.html
  • * Bluespec: SystemVerilogとSystemCのツール実装に使ってる* Bump Technologies: モバイル向け連絡先交換のサーバサイド* Microsoft Research: GHC(Haskellコンパイラ)の研究開発* Qualcomm: LuaのBREWバインディングジェネレータ* Standard Chartered Bank: デリバティブリスク分析* Tsuru Capital: 株式トレーディングその他:http://www.haskell.org/haskellwiki/Haskell_in_industry
  • http://www.ohmsha.co.jp/kaihatsu/archive/2012/03/21160230.html"Learn You a Haskell for Great Good!: A Beginners Guide"の翻訳書。2012年5月新刊予定。
  • Gloss hides the pain of drawing simple vector graphicsbehind a nice data type and a few display functions.Gloss uses OpenGL under the hood, but you wont needto worry about any of that.Get something cool on the screen in under 10 minutes.
  • $ sudo apt-get install haskell-platformhttp://hackage.haskell.org/platform/linux.htmlhttp://wiki.haskell.jp/Workshop/StartHaskell/0
  • $ cabal update$ cabal install gloss$ cabal install gloss-examples
  • $ sudo apt-get install ghc-mod$ cabal install ghc-mod
  • $ ghciGHCi, version 7.4.1: http://www.haskell.org/ghc/ :? for helpLoading package ghc-prim ... linking ... done.Loading package integer-gmp ... linking ... done.Loading package base ... linking ... done.Prelude> import Graphics.GlossPrelude Graphics.Gloss> display (InWindow "Hoge" (200, 200) (10, 10)) white (Circle 80)
  • $ cat hellogloss.hsimport Graphics.Glossmain :: IO ()main = display (InWindow "Hoge" (200, 200) (10, 10)) white (Circle 80)$ ghc hellogloss.hs[1 of 1] Compiling Main ( hellogloss.hs, hellogloss.o )Linking hellogloss ...$ ./hellogloss
  • $ cat hellogloss.hsimport Graphics.Glossmain :: IO ()main = display (InWindow "Hoge" (200, 200) (10, 10)) white (Circle 80)
  • import Graphics.Glosshttp://hackage.haskell.org/packages/archive/gloss/latest/doc/html/Graphics-Gloss.html
  • main :: IO ()
  • main = display (InWindow "Hoge" (200, 200) (10, 10)) white (Circle 80)
  • Prelude Graphics.Gloss> :t displaydisplay :: Display -> Color -> Picture -> IO ()
  • (InWindow "Hoge" (200, 200) (10, 10))
  • Prelude Graphics.Gloss> :t whitewhite :: Color
  • http://cdsmith.wordpress.com/category/haskell-for-kids/