(no subject)

8/10/06 07:46 (UTC)
Я ничего не понимаю в Хаскеле, но может, логичнее было возвращать таки Maybe Entity или вообще не специфицировать тип так как он все равно всегда будет совпадать с типом возврата find?

> findIntersecting :: Circle -> [Entity] -> Maybe Entity
> findIntersecting circle_ entries =
> find (circlesIntersect circle_ . circle . position) entries
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting