tech posting 

python will really just give up on typing certain expressions, even when the type of every variable within the expression is known.

tech posting 

i think the simplest example i know is that compose(compose, compose) types as Any -> Any, despite the fact that it could be typed as (A -> B) -> (C -> D -> A) -> C -> D -> B

tech posting 

am i making the wisest decision by trying to use semantic editor combinators in python? no. am i still going to get upset about it? yes.

tech posting 

you can't even manually force a type onto it, because pointfree function definitions in python can't use type variables

tech posting 

@emi python kinda sounds like a skill issue imo

Follow

tech posting 

@haskal python is the embodiment of that quote that's like "dynamic typing is the misguided belief that you know what you're doing, just not well enough to explain it to the compiler"

Sign in to participate in the conversation
☠️ librepunk ☠️

a friendly general instance for coders, queers, and leftists!