Edited, memorised or added to reading queue

on 23-Apr-2015 (Thu)

Do you want BuboFlash to help you learning these things? Click here to log in or create user.

#scala #sequence-comprehension

no yield keyword - uses the special for comprehension returning Unit:

object ComprehensionTest3 extends App {
  for (i <- Iterator.range(0, 20);
       j <- Iterator.range(i, 20) if i + j == 32)
    println("(" + i + ", " + j + ")")
}
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Sequence Comprehensions - Scala Documentation
that are created from the list of generators and filters are used to perform side-effects. The programmer has to omit the keyword yield to make use of such a sequence comprehension. Here’s a program which is equivalent to the previous one but <span>uses the special for comprehension returning Unit: object ComprehensionTest3 extends App { for (i <- Iterator.range(0, 20); j <- Iterator.range(i, 20) if i + j == 32) println("(" + i + ", " + j + ")") } Please enable JavaScript to view the comments powered by Disqus. blog comments powered by Disqus Contents




Flashcard 150889542

Tags
#economics #money
Question
During the years of the credit bubble, banks were not issuing any new shares - if anything they were buying them back (reducing share capital).

It is only after things went horribly wrong again in 2008 that banks started raising more share capital (or [...]).
Answer
converting bonds to share capital

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Parent (intermediate) annotation

Open it
e years of the credit bubble, banks were not issuing any new shares - if anything they were buying them back (reducing share capital). It is only after things went horribly wrong again in 2008 that banks started raising more share capital (or <span>converting bonds to share capital).<span><body><html>

Original toplevel document

Mark Wadsworth: Banking made easy
hare capital and leverages it with deposits. 23 May 2011 at 10:33 Mark Wadsworth said... Den, that's exactly not what they do. They first create the deposits by issuing loans (see step 7), which magically turn into deposits. <span>During the years of the credit bubble, banks were not issuing any new shares - if anything they were buying them back (reducing share capital). It is only after things went horribly wrong again in 2008 that banks started raising more share capital (or converting bonds to share capital). 23 May 2011 at 10:37 Deniro said... OH I uderstood and agree your point about making loans from deposits and you made is succinctly. I just thought you are in danger of star







Flashcard 150889554

Tags
#bonds #duration #finance
Question
[...] duration calculates the present values of the relevant cashflows (more strictly) by using the zero coupon yield for each respective maturity.
Answer
Fisher-Weil

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Parent (intermediate) annotation

Open it
Fisher-Weil duration calculates the present values of the relevant cashflows (more strictly) by using the zero coupon yield for each respective maturity.

Original toplevel document

Bond duration - Wikipedia, the free encyclopedia
ly 7% in value if the interest rate increased by one percentage point (say from 7% to 8%).[6] Fisher-Weil Duration[edit] Fisher-Weil duration is a refinement of Macaulay’s duration which takes into account the term structure of interest rates.<span>Fisher-Weil duration calculates the present values of the relevant cashflows (more strictly) by using the zero coupon yield for each respective maturity.[7] Key Rate Duration[edit] Key rate durations (also called partial DV01s or partial durations) are a natural extension of the total modified duration to measuring sensitivity to shifts







Flashcard 150889560

Tags
#java #java-generics
Question
If you need to [what operations?] a list, you need to declare it exactly with no wildcards, e.g. List<Integer>.
Answer
both read from and write to

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Parent (intermediate) annotation

Open it
If you need to both read from and write to a list, you need to declare it exactly with no wildcards, e.g. List .