AV
Size: a a a
AV
AV
hasCallStack :: HasCallStack => (HasCallStack => r) -> r
и использовать ее, не прокатит?AV
(\v -> (v & maximum1Of (folded._4)))
выглядит не очень, особенно если и другие штуки надо считатьAA
AV
R
(\v -> (v & maximum1Of (folded._4)))
выглядит не очень, особенно если и другие штуки надо считать(\v -> (v & f))
— это не то же самое что f
?AV
AV
AA
IK
AA
IK
AA
λ ghci -XNoImplicitPrelude
GHCi, version 8.10.1: https://www.haskell.org/ghc/ :? for help
> :i map
<interactive>:1:1: error: Not in scope: `map'
R
Cannot instantiate the metavariable _6 to solution Vec _A_8 n
since it contains the variable n
which is not in scope of the metavariable or irrelevant in the metavariable but relevant in the solution
when checking that the inferred type of an application
Vec _A_8 n
matches the expected type
_B_6