Julia pattern matching and data structure - 杜岳華

由於場地問題,第二天我們移動到另一棟大樓啦!議程教室變動請見網站上的議程表

歡迎來到 https://hackmd.io/@coscup/2019 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

點擊本頁上方的 開始用 Markdown 一起寫筆記!
手機版請點選上方 按鈕展開議程列表。

請從這裡開始

Slide

tags: COSCUP2019 Julia language IB501 TR413-1

Value Type

類似 pattern matching 的機制

foo(::Val{true}) = "TRUE"
foo(::Val{false}) = "FALSE"

Wrapping

foo()
  • Value Types: 將值包裝為 Type
  • Multiple dispatch: 在 Type 上作用

Linkede List in functional style

abstract type LinkedList{T} end
Select a repo