juan_gandhi: (VP)
[personal profile] juan_gandhi
  def retrieveAllPatients(listOfProps: Seq[Props]): Result[Traversable[PatientInfo]] = {
    val listOfMaybePatients = listOfProps.zipWithIndex map (retrievePatientInfo _).tupled
    val maybeListOfPatients = Result.traverse(listOfMaybePatients)
    suspiciousError(s"Now we have all the patients, right?\n$maybeListOfPatients")
    maybeListOfPatients
  }


Шутки шутками, а Патерсон и МакБрайд как бы тут непосредственно вписываются.
Научите меня HoTT, и я у меня в коде будут торсоры и группы когомологий.
Смешно, конечно.

Date: 2013-10-08 09:09 pm (UTC)
From: [identity profile] nivanych.livejournal.com
А когомологии куда там?
И в каком виде, интересно?

Date: 2013-10-08 09:21 pm (UTC)
From: [identity profile] ivan-gandhi.livejournal.com
Да хз, это так, к слову пришлось.

Date: 2013-10-09 01:54 am (UTC)
From: [identity profile] thedeemon.livejournal.com
Без зависимых типов в языке на НоТТ нет смысла смотреть даже.

Date: 2013-10-09 04:46 am (UTC)
From: [identity profile] nivanych.livejournal.com
"У меня в языке зависимых типов нет, но посмотреть могу!" ;-)

Date: 2013-10-09 02:26 pm (UTC)
From: [identity profile] ivan-gandhi.livejournal.com
Это уже анекдоты про строителей напомнило.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

June 2025

S M T W T F S
1 2345 6 7
8 9 10 11 121314
15161718 1920 21
222324252627 28
29 30     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 8th, 2025 03:42 am
Powered by Dreamwidth Studios