YuMingLiao

Results 73 comments of YuMingLiao

I have tried concur-react-starter, the React backend on web. And it went well. It seems concur-react-native just needs a `src-ghcjs/Concur/ReactNative/FFI.hs` to call h$ffi and make this work, right?

Hi, I have tried custom components with this code and found something. Only connectedCallback (when custom element show without previous same custom element) and disconnectedCallback (when custom element is not...

@pkamenarsky , Oops. Thanks for spotting that. Now attributedChangedCallback is called before every connectedCallback, but not before disconnectedCallback, as expected.

Actually, after I registered the second element, it becomes: (before clicking any button) attributeChanged connected (first click) attributeChanged (second click) disconnected second attributeChanged second connected (third click) second disconnected attributeChanged...

And if I don't register the second element, I get: (click 0) attributeChanged connected (click 1) attributeChanged (click 2) disconnected (click 3) attributeChanged connected I will always get one more...

The parser should parse according to expected attributes. It seems now the code sees text without double quotes as data constructors. A wild guess is that the parser succeed at...

Oh, I didn't think too far. I just try to find some code that make sure I have something to reference when I think about code. I just want to...

Thanks! I have implemented a simple feature now. ``` TutorialD (master/main): :importexample date TutorialD (master/main): :showexpr s ┌──────────┬────────┬───────────┬───────────────┐ │city::Text│s#::Text│sname::Text│status::Integer│ ├──────────┼────────┼───────────┼───────────────┤ │"Paris" │"S2" │"Jones" │10 │ │"Athens" │"S5" │"Adams" │30 │...

How about using sum types to extend errors? ``` data AllErrors = DBError RelationalError | AppError AppError data AppError = AccessError UserID RelVarName ``` `type Action a = ReaderT DBEnv...

@farzadbekran Type famlies! of course... OpenErrorLibrary.hs -- like your data layer in a separate library ``` {-# LANGUAGE TypeFamilies #-} module OpenErrorLibrary where type family Error e type instance Error...