feat(users/Profpatsch/whatcd-resolver): add autorefresh
Adds a little polling mechanism that compares against an ID that is generated anew every time the server is restarted. Works well together with shortcuttable. Change-Id: Icc6745b599e43881c14349794feaf5794cfe6777 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11172 Autosubmit: Profpatsch <mail@profpatsch.de> Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
efa5fe1239
commit
3b9fb1aa60
4 changed files with 82 additions and 9 deletions
|
|
@ -125,11 +125,11 @@
|
|||
message: "`void` leads to bugs. Use an explicit `_ <- …` instead"
|
||||
|
||||
- name: Data.Foldable.length
|
||||
within: []
|
||||
within: ["MyPrelude"]
|
||||
message: "`Data.Foldable.length` is dangerous to use, because it also works on types you wouldn’t expect, like `length (3,4) == 1` and `length (Just 2) == 1`. Use the `length` function for your specific type instead, for example `List.length` or `Map.length`."
|
||||
|
||||
- name: Prelude.length
|
||||
within: [MyPrelude]
|
||||
within: ["MyPrelude"]
|
||||
message: "`Prelude.length` is dangerous to use, because it also works on types you wouldn’t expect, like `length (3,4) == 1` and `length (Just 2) == 1`. Use the `length` function for your specific type instead, for example `List.length` or `Map.length`."
|
||||
|
||||
# Using an explicit lambda with its argument “underscored”
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue