Last active
June 25, 2016 13:44
-
-
Save poying/f50d12ff89152c6b14d8b46c4cc2cfc1 to your computer and use it in GitHub Desktop.
Revisions
-
poying revised this gist
Jun 25, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ ### ADT `port` 不能使用 ADT,所以任何有巢狀結構的的資料在 `port` 都會遇到問題。目前的解法是在 outcome 的地方先用 `JSON.stringify` 轉成 `String`,income 再用 `JSON.parse` 轉成 `Maybe a`(噴 error 的時候就是 `Nothing`,這個解法有點問題,暫時先這樣 :p) -
poying revised this gist
Jun 25, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ ### ADT `port` 不能使用 ADT,所以任何有巢狀結構的的資料在 `port` 都會遇到問題。目前的解法是在 outcome 的地方先用 `JSON.stringify` 轉成 `String`,income 再用 `JSON.parse` 轉成 `Maybe a`(噴 error 的時候就是 `Nothing`) -
poying revised this gist
Jun 25, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,3 @@ ### ADT `port` 不能使用 ADT,所以任何有巢狀結構的的資料在 `port` 都會遇到問題。目前的解法是在 outcome 的地方先用 `JSON.stringify` 轉成 `String`,income 再用 `JSON.parse` 轉成 `Maybe a` -
poying created this gist
Jun 25, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ ### ADT `port` 不能使用 ADT,所以任何有巢狀結構的的資料在 `port` 都會遇到問題,outcome 的地方先用 `JSON.stringify` 轉成 `String`,income 再用 `JSON.parse` 轉成 `Maybe a`