profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/brandon-leapyear/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Brandon Chinn brandon-leapyear @LeapYear

brandon-leapyear/awaitjs-express 0

Write Express middleware and route handlers using async/await

brandon-leapyear/aws-cli-orb 0

Install and configure the AWS command-line interface (awscli)

brandon-leapyear/circleci-docs 0

Documentation for CircleCI.

brandon-leapyear/config 0

My configuration files

brandon-leapyear/DefinitelyTyped 0

The repository for high quality TypeScript type definitions.

brandon-leapyear/distributed-closure 0

Serializable closures for distributed programming.

brandon-leapyear/docs.nestjs.com 0

The official documentation https://docs.nestjs.com 📕

brandon-leapyear/express 0

Fast, unopinionated, minimalist web framework for node.

brandon-leapyear/express-http-proxy 0

Proxy middleware for express/connect

brandon-leapyear/fast-check 0

Property based testing framework for JavaScript (like QuickCheck) written in TypeScript

push eventbrandonchinn178/haskell-plus-plus

Brandon Chinn

commit sha a47943923a3e78929f36e02b2ea1d0f256b4c8b7

Clear scopes in annotation

view details

Brandon Chinn

commit sha 513cd991f30e39df843483a79986008c3db0b2d4

Clean up import styling

view details

push time in 6 hours

push eventbrandon-leapyear/config

Brandon Chinn

commit sha 34c00ec4bcb2374c91c20a11d32402c070bf8a31

Change RSPACE in layer 1

view details

Brandon Chinn

commit sha 61dd4734b25168f575263c05195076492bad5cb1

Update for work

view details

Brandon Chinn

commit sha 0b4fd42d6349f2d3bf5a5f58579ef2b69acfb6ca

Rewrite scripts with zsh

view details

Brandon Chinn

commit sha e4d1c1862da2900c6cf62ca3698ce946bbf69fa9

Rewrite git-cb as git-mb

view details

Brandon Chinn

commit sha 300df7f3cd65884ef5bbb6f9d30344665873ad10

Add artifactory creds

view details

Brandon Chinn

commit sha ebb0c77625372e120e0c0db4b688a819cc8ea9b2

Make lybuild/lytest scripts for git rebase --exec

view details

push time in 6 hours

push eventbrandonchinn178/config

Brandon Chinn

commit sha 34c00ec4bcb2374c91c20a11d32402c070bf8a31

Change RSPACE in layer 1

view details

push time in 6 hours

push eventbrandonchinn178/haskell-plus-plus

Brandon Chinn

commit sha 912321e2d9c791c17889c6cd9130360fb7690a44

Add basic color scheme

view details

Brandon Chinn

commit sha de7f6498725c50a3b2b1f694f34d65377db7bad4

Add color for imports

view details

Brandon Chinn

commit sha a9d43b1f7339edda6d3a0afd6b511311c6723a6d

Style pragmas

view details

push time in 19 hours

push eventbrandon-leapyear/config

Brandon Chinn

commit sha 8f39b2554446b10221d31efc63192f8730a21863

Fix for explicit type sigs in function arg

view details

Brandon Chinn

commit sha 5c0ebc49ff209c3fab9e43bf168ed95eb988c349

Update for work

view details

Brandon Chinn

commit sha 6e6c8f2af255e8710411ac7413b339d1fb118c78

Rewrite scripts with zsh

view details

Brandon Chinn

commit sha 693bf0ce2b52f892e094c417c5e25ebf423b54d1

Rewrite git-cb as git-mb

view details

Brandon Chinn

commit sha 937748209bbf18cb32e6d7865f3a38bf5ae5802d

Add artifactory creds

view details

Brandon Chinn

commit sha c64770a9253ec14c7eb04819987568ed9bf9c3ae

Make lybuild/lytest scripts for git rebase --exec

view details

push time in 21 hours

push eventbrandonchinn178/haskell-plus-plus

push time in 21 hours

push eventbrandonchinn178/haskell-plus-plus

Brandon Chinn

commit sha 45cc2690da6a0e3a70826df4fad23863d193a4c2

test

view details

push time in 21 hours

push eventbrandonchinn178/haskell-plus-plus

Brandon Chinn

commit sha 9ff703e4baaa1153fbae01aab1f7cef38340d582

Add GitHub action

view details

push time in 21 hours

create barnchbrandonchinn178/haskell-plus-plus

branch : main

created branch time in 21 hours

push eventbrandonchinn178/config

Brandon Chinn

commit sha 8f39b2554446b10221d31efc63192f8730a21863

Fix for explicit type sigs in function arg

view details

push time in 2 days

pull request commentnestjs/nest

fix(types) adds types for `mixin`

This does break the case of generating a mixin

// works in version 7, not version 8
const mkFilter = (...args) => {
  class MyFilter {
    // implement class using args
  }

  return mixin(MyFilter)
}
TS4025: Exported variable 'mkFilter' has or is using private name 'MyFilter'.

Is this no longer supported, then? Or should it be filed as a bug?

dimitropoulos

comment created time in 2 days

issue openedhasura/monad-validate

embedValidateT still unclear

I'm not sure I understand the docs/example for embedValidateT. Specifically the part saying "altering an error type in a larger ValidateT context"

throwsBoth :: ValidateT [Either Integer Bool] m ()
throwsBoth = do
  embedValidateT $ mapErrors (map Left) throwsIntegers
  embedValidateT $ mapErrors (map Right) throwsBools

this seems to be equivalent without embedValidateT

throwsBoth' :: ValidateT [Either Integer Bool] m ()
throwsBoth' = do
  mapErrors (map Left) throwsIntegers
  mapErrors (map Right) throwsBools

I do see that embedValidateT works for any MonadValidation, so this function could be used to convert a ValidateT into any other MonadValidation, but I don't understand why it would be useful as embedValidateT :: ValidateT e m a -> ValidateT e m a

created time in 2 days

push eventbrandon-leapyear/config

Brandon Chinn

commit sha acf0aa06afbee0bb5bd9c4f0d17dc2f030c7f7e2

Symlink sublime configuration

view details

Brandon Chinn

commit sha 1d2b44b5332ef108d1b0b650626f3f70cb8a181d

Update for work

view details

Brandon Chinn

commit sha 282b6948aaeaaac766d722ce510608580fef437e

Rewrite scripts with zsh

view details

Brandon Chinn

commit sha cad56c0e850e626a06a904c4356e4932f36bbc79

Rewrite git-cb as git-mb

view details

Brandon Chinn

commit sha a10214f6b18f9ae4645d48c6ac697fa7cb688b08

Add artifactory creds

view details

Brandon Chinn

commit sha fabb51f002dac0b0d9d2c4be91fa306fe7dc7076

Make lybuild/lytest scripts for git rebase --exec

view details

push time in 3 days

push eventbrandonchinn178/config

Brandon Chinn

commit sha acf0aa06afbee0bb5bd9c4f0d17dc2f030c7f7e2

Symlink sublime configuration

view details

push time in 3 days

push eventbrandon-leapyear/config

Brandon Chinn

commit sha 34c4d3c3f9e69c99b565da286c79746e52096578

Pop function context when deindenting

view details

Brandon Chinn

commit sha d60c0a1f9388ba629562567ee200966e26fc5abb

Symlink sublime configuration

view details

Brandon Chinn

commit sha 0cc3fe786e83c1a740ad01caeabe679207156c12

Update for work

view details

Brandon Chinn

commit sha 393a9cf35a0d923ca8f6651f2941aff7f42c2654

Rewrite scripts with zsh

view details

Brandon Chinn

commit sha 7464f781bba75121f0862e7eab75177f110ce6f5

Rewrite git-cb as git-mb

view details

Brandon Chinn

commit sha 31cecdd9524bf6d39fc8fed842027509474d7b68

Add artifactory creds

view details

Brandon Chinn

commit sha 0cdff489855403c8d23ca0b4b2466f87f3acf867

Make lybuild/lytest scripts for git rebase --exec

view details

push time in 3 days

push eventbrandonchinn178/config

Brandon Chinn

commit sha d60c0a1f9388ba629562567ee200966e26fc5abb

Symlink sublime configuration

view details

push time in 3 days

push eventbrandonchinn178/config

Brandon Chinn

commit sha a5f3a023c496272a20b1c35aadab70400d078770

Symlink sublime configuration

view details

push time in 3 days

push eventbrandonchinn178/config

Brandon Chinn

commit sha 34c4d3c3f9e69c99b565da286c79746e52096578

Pop function context when deindenting

view details

push time in 3 days

push eventbrandon-leapyear/config

Brandon Chinn

commit sha 30b861c58046a10a85d04b2724fcc71d76945c5b

Fix standalone deriving syntax

view details

Brandon Chinn

commit sha 1c8ec422551a5cba3de4cd2f2740ec21f20dbc6d

Update for work

view details

Brandon Chinn

commit sha 1a92c7bda3d87a81f30678fdfdee2f9c9b09a1c1

Rewrite scripts with zsh

view details

Brandon Chinn

commit sha 7270ae2f3d810956dffdb9f4e9b414c6bdfced1f

Rewrite git-cb as git-mb

view details

Brandon Chinn

commit sha a88c44af8341cf98b452cb5b9242cfd11a98e1a2

Add artifactory creds

view details

Brandon Chinn

commit sha 9811f6bcb9c7397163e3f12d6623b2383208cc69

Make lybuild/lytest scripts for git rebase --exec

view details

push time in 3 days

push eventbrandonchinn178/config

Brandon Chinn

commit sha 30b861c58046a10a85d04b2724fcc71d76945c5b

Fix standalone deriving syntax

view details

push time in 3 days

push eventbrandon-leapyear/SublimeHaskell

Brandon Chinn

commit sha dbcb68894e017d14512d5defea005bb07c80aba1

Break out + fix standalone deriving

view details

push time in 3 days

push eventbrandon-leapyear/config

Brandon Chinn

commit sha 61400870fea5efc183d59bde2daf4e95ffa8e842

Fix standalone deriving syntax

view details

Brandon Chinn

commit sha 4ad99225533a4312e14471e4ee8935dd0e2da279

Update for work

view details

Brandon Chinn

commit sha 395475256ce60ce28407640dda320ad4c5fed8ce

Rewrite scripts with zsh

view details

Brandon Chinn

commit sha 8332e498e15e32508e88e7002873c090ebe232ab

Rewrite git-cb as git-mb

view details

Brandon Chinn

commit sha f06eadcfaa7099195ae50f1c867e44d93c0a04cd

Add artifactory creds

view details

Brandon Chinn

commit sha 862600973db0ea2d6cf323fa8dc5f166859fc855

Make lybuild/lytest scripts for git rebase --exec

view details

push time in 3 days

push eventbrandonchinn178/config

Brandon Chinn

commit sha 61400870fea5efc183d59bde2daf4e95ffa8e842

Fix standalone deriving syntax

view details

push time in 3 days

push eventbrandon-leapyear/SublimeHaskell

Brandon Chinn

commit sha 229fde36a8584cc2f2ef43d3946b575be20f8d6b

Fix standalone deriving

view details

push time in 3 days

push eventbrandon-leapyear/SublimeHaskell

Brandon Chinn

commit sha ad4b08c40f8564e7fbd4f588d8ff37ec159f384c

Fix, support deriving via

view details

push time in 3 days

push eventbrandonchinn178/config

Brandon Chinn

commit sha 1f5803cc7b8d1dd8adb377e1fffbd2219bd3dbdd

Fix standalone deriving syntax

view details

push time in 3 days

push eventbrandon-leapyear/config

Brandon Chinn

commit sha 1f5803cc7b8d1dd8adb377e1fffbd2219bd3dbdd

Fix standalone deriving syntax

view details

Brandon Chinn

commit sha 9aba6f933987b04844450fb66dcb949c691eaefc

Update for work

view details

Brandon Chinn

commit sha b496a3a51c014582b1c9ee4be166889d3898a11c

Rewrite scripts with zsh

view details

Brandon Chinn

commit sha 451099eb3722c7f844f3ea137759e43c0ead135c

Rewrite git-cb as git-mb

view details

Brandon Chinn

commit sha 965f624bd25ac7c36a36f2bc834412b7f6f74e4f

Add artifactory creds

view details

Brandon Chinn

commit sha 87641a57f0c0ad62aa6ab614cfc72b3168237153

Make lybuild/lytest scripts for git rebase --exec

view details

push time in 3 days

push eventbrandon-leapyear/ghc-proposals

Brandon Chinn

commit sha c5b4421e8708b64712eb2cb0a6362ecb31b0fccb

Update 0436-recordwildcards-total.rst

view details

push time in 5 days

push eventbrandon-leapyear/ghc-proposals

Brandon Chinn

commit sha 1aca9a569f769ed87937e04c947e4fd2ab27a2d6

Update alternatives

view details

push time in 5 days

pull request commentghc-proposals/ghc-proposals

Add support for total RecordWildCards

I think having scoped warnings is a really good idea regardless! There've been times when I wanted to turn off warnings like -Worphans or -Wname-shadowing for a specific section, but not the entire module.

With scoped warnings, I think this is a decent approach, but I still wouldn't want to make this a warning because then -Weverything would warn about all uses of RecordWildCards that don't use all the fields. Practically speaking, if this were a warning, then everyone using -Weverything should also add -Wno-unused-record-wildcards.

Abstractly, warnings are good for scenarios where developers usually want to avoid X, and X is rare enough that manually/verbosely enabling X is a sufficient trade-off. This proposal is far from the common RecordWildCards use-case (https://github.com/ghc-proposals/ghc-proposals/pull/436#discussion_r712349284), so a warning doesn't seem appropriate here.

However, I'm not keen to introduce new syntax for this use case. While we can say that this is syntax novices don't need to know, a large codebase will include the new syntax, so people will at least need to know how to read the syntax -- which is (at present) unsearchable (what would your search terms be?) and unsuggestive. (I wouldn't associate ! with unused-match warnings.)

That is a really good point, but RecordWildCards today falls under the same issue, right?

If the modifier proposal goes through, what if we just added a separate modifier for this?

foo Foo{ %useAllRecordFields .. } = undefined
brandon-leapyear

comment created time in 5 days