Die Suche ergab 11 Treffer

von a10r
3. Feb 2019 12:17
Forum: Konzepte der Programmiersprachen
Thema: Assignment 07 BindCC
Antworten: 1
Zugriffe: 116

Re: Assignment 07 BindCC

This has been answered here: viewtopic.php?f=300&t=39192
von a10r
31. Jan 2019 21:55
Forum: Konzepte der Programmiersprachen
Thema: Exercise 7
Antworten: 1
Zugriffe: 175

Re: Exercise 7

In this interpreter, each value has a mutable field "marked" which is used during the marking phase. A number in the Data column does not mean it is a NumV. The task description says: Note: The numbers in the Data column are store locations and are referencing the same Scala object the given store l...
von a10r
31. Jan 2019 13:32
Forum: Konzepte der Programmiersprachen
Thema: Assignment 10
Antworten: 1
Zugriffe: 98

Re: Assignment 10

This particular and function only takes one argument. See here for the documentation.
It takes some foldable container of bools and calculates AND over all elements in it.
von a10r
21. Jan 2019 20:58
Forum: Konzepte der Programmiersprachen
Thema: Calculating WAE Expressions
Antworten: 1
Zugriffe: 126

Re: Calculating WAE Expressions

It's hard to help you when you're being so vague about what exactly you don't understand. Try to ask more precise questions. If you have trouble with substitution, evaluate some expressions on paper first. Then the code should become obvious. The first snippet in you post has a call to subst in the ...
von a10r
18. Nov 2018 12:26
Forum: Konzepte der Programmiersprachen
Thema: task 3 in Assignment 2
Antworten: 1
Zugriffe: 131

Re: task 3 in Assignment 2

It is a higher-order function, meaning that it takes a function f of type (A, B) => C and returns a function of type (List[A], List[B]) => List[C]) that is parameterized with the function f you provided. The returned function takes two lists. If both of them are not empty, it takes the first element...
von a10r
11. Nov 2018 10:45
Forum: Konzepte der Programmiersprachen
Thema: Typo in DeBrujinTest [test("conv ref in named expression")]
Antworten: 1
Zugriffe: 167

Re: Typo in DeBrujinTest [test("conv ref in named expression")]

You're correct in that the 'x in the named expression of the inner Let refers to the 'x that was defined in the outer Let. What is important to realize here is that Let has two sub-expressions: namedExpr and body. However, the list of bindings available in these sub-expressions is different. The two...
von a10r
10. Nov 2018 14:34
Forum: Konzepte der Programmiersprachen
Thema: Typo in DeBrujinTest [test("interp let let ref")]
Antworten: 2
Zugriffe: 207

Re: Typo in DeBrujinTest [test("interp let let ref")]

Indices start at 0 and you count from inside to outside. From the point of view of the nested RefDB(...) in the test case, value 2 is at index 0 and value 1 is at index 1. So the test is correct. Hope that helps. :)
von a10r
25. Jan 2018 17:51
Forum: Archiv
Thema: Assignment 10 - Task 1.4
Antworten: 4
Zugriffe: 402

Re: Assignment 10 - Task 1.4

Could you share some of your insight? Why should 1 be included when it can not be written as a product of 2, 3 and 5? This had me confused for quite some time as well. 1 belongs to the list because 1 actually has no prime factors at all. Or in other words, an empty product is 1. So if we take zero ...
von a10r
24. Okt 2016 20:36
Forum: Archiv
Thema: Searching a group for the Labs [CLOSED]
Antworten: 5
Zugriffe: 456

Re: Searching a group for the Labs

I'm also a MSc student, looking for a group. Sent the OP my contact info. :wink:
von a10r
23. Okt 2014 10:42
Forum: Archiv
Thema: Sprechstunden-Ausfall
Antworten: 0
Zugriffe: 199

Sprechstunden-Ausfall

Morgen Leute,

meine Sprechstunde heute um 16:00 muss krankheitsbedingt ausfallen. Wer mich persönlich sprechen wollte, kann mir eine PN schreiben, ich versuche das dann zeitnah zu beantworten. :wink:

Viele Grüße,
Andreas
von a10r
22. Okt 2013 13:33
Forum: Archiv
Thema: Noch eine Gruppensuche
Antworten: 0
Zugriffe: 150

Noch eine Gruppensuche

Moin, bin auf der Suche nach drei Mitstreitern für die Labs. Habe vor, die Aufgaben möglichst zügig und komplett zu bearbeiten, also kein Minimalprinzip. Ich wohne in der Gegend um Aschaffenburg herum, mir wäre es also am liebsten, wenn die Kommunikation ganz übers Internet ablaufen könnte, am beste...

Zur erweiterten Suche