-
Updated
Apr 28, 2021 - JavaScript
types
Here are 747 public repositories matching this topic...
-
Updated
Apr 28, 2021 - TypeScript
-
Updated
Apr 28, 2021 - Python
-
Updated
Apr 27, 2021 - TypeScript
-
Updated
Apr 27, 2021 - TypeScript
-
Updated
Jul 24, 2017 - TypeScript
e.g.
# map.py
def func(a: int) -> float:
return float(a)
map(func, ['str'])
$ pytype map.py
Computing dependencies
Analyzing 1 sources with 0 local dependencies
ninja: Entering directory `/[redacted]/.pytype'
ninja: no work to do.
Success: no errors found
while
$ mypy map.py
map.py:5: error: Argument 1 to "map" has incompatible type "Ca
Input
# typed: true
extend T::Sig
x = T.let(nil, T.nilable(Integer))
T.reveal_type(NilClass.===(x))
T.reveal_type(NilClass.===(T.unsafe(nil))
-
Updated
Apr 4, 2021 - Python
-
Updated
Mar 12, 2021 - TypeScript
const Foo = Union( // ... ).named('Foo');
We may need an API like this in order to get better error messages.
Currently pgTyped CLI package is using minimist
for CLI flag parsing. By design minimist
is rather minimal and doesnt provide any advanced features.
To improve the current CLI experience we should switch to yargs.
Things we will get out of the box with yargs
:
- Help command
- Env variable support
- Flag value validation
- Documented default values
-
Updated
Apr 10, 2021 - TypeScript
-
Updated
Mar 18, 2021 - Clojure
-
Updated
Apr 13, 2021 - Python
-
Updated
Apr 25, 2021 - OCaml
-
Updated
Apr 20, 2021 - Ruby
UPDATE: Please check mypyc/mypyc#839 (comment) for more details.
Current master branch doesn't support overridden __len__
of dict subtypes.
class MyDict(dict):
def __init__(self, *args, **kwargs):
self.update(*args, **kwargs)
def __len__(self):
return 1
def test_dict_subclass_to_bool() -> None:
d =
Debugging Kotlin∇ code within IntelliJ IDEA can be somewhat cumbersome due to the functional API structure (lots of deeply-nested stack traces and context switching). To facilitate more user-friendly debugging, we should add support for visual debugging by exposing Kaliningraph’s built-in graph visualization capabilities. For example, the use
(exp (log (make-polar 1.7976931348623153e+308 -1.797693134862315e+308)))
produces -8.648665413126592e+306-1.7956115019091953e+308i
in Racket but -inf.0-inf.0i
after Typed Racket optimization. Optimized code is:
(let-values (((g3)
(#%app
log
-
Updated
Aug 22, 2020 - Idris
Improve this page
Add a description, image, and links to the types topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the types topic, visit your repo's landing page and select "manage topics."
My goal is to have the best documentation for each provided type.
If something is unclear in any of the types, please comment or open a PR to improve it.
Some things you could contribute: