Die Suche ergab 85 Treffer

von Talaron
11. Jan 2017 14:43
Forum: Archiv
Thema: Exam in summer 2017?
Antworten: 1
Zugriffe: 358

Re: Exam in summer 2017?

Don't take my answer for granted, but: 1. So far there have always been exams offered in the next semester after the lecture was held. It might be oral exams though, depending on the number of registrations. 2. I think it is always the case for FB20 lectures that bonus points are carried over until ...
von Talaron
11. Jan 2017 14:38
Forum: Archiv
Thema: WebLab broken?
Antworten: 7
Zugriffe: 928

Re: WebLab broken?

Just in case you didn't find out already, the problems with Weblab have been fixed.
von Talaron
10. Jan 2017 21:24
Forum: Archiv
Thema: WebLab broken?
Antworten: 7
Zugriffe: 928

Re: WebLab broken?

If you want to continue working until the problem is fixed, you can copy and paste the whole template + tests into your own IDE and continue working from there. For this task, all specification tests should be included in the public tests template.
von Talaron
4. Jan 2017 15:24
Forum: Archiv
Thema: Matching not working
Antworten: 3
Zugriffe: 605

Re: Matching not working

Thanks for the feedback! Although I'm not one of the organizers of the lecture, I'm sure they appreciate it. :) In their defense however, the term "varargs", how to match them and even an example usage for the Seqn-case are already given in the template with a (probably not sufficiently detailed) co...
von Talaron
3. Jan 2017 00:45
Forum: Archiv
Thema: Matching not working
Antworten: 3
Zugriffe: 605

Re: Matching not working

Sorry for the long delay, but maybe some explanation is still helpful for you or others: The *-parameters are not supposed to be regular expressions or something like this but simply a way to allow methods (or in our case case classes) to take an arbitrary number of arguments (the keyword if you wan...
von Talaron
18. Dez 2016 21:49
Forum: Archiv
Thema: Assignment 7: Moving Mark and Sweep
Antworten: 5
Zugriffe: 498

Re: Assignment 7: Moving Mark and Sweep

Will there be a task over the winter pause? It would be awesome if there wasn't ;-) These tasks are getting increasingly complex and it would be nice having a pause for some time... Rest is for the dead! :wink: The next assignment will be just one big task that is quite a bit of coding work, but no...
von Talaron
13. Dez 2016 00:46
Forum: Archiv
Thema: Access to the Course Page
Antworten: 2
Zugriffe: 319

Re: Access to the Course Page

Is your RBG account still active? It runs out every 6 months if you don't manually renew it.

https://support.rbg.informatik.tu-darmstadt.de/service
von Talaron
23. Nov 2016 15:44
Forum: Archiv
Thema: Assign. 3, Task 4
Antworten: 6
Zugriffe: 672

Re: Assign. 3, Task 4

Just to make sure I understood this right: We are supposed to come up with two examples of higher order functions which have some nice functionality like map or fold for example? Map and fold are examples of functions you could implement (and use, in the tests you have to write), although probably ...
von Talaron
22. Nov 2016 12:29
Forum: Archiv
Thema: Assignment 3, Task 2 (MultiArgFLAEPreproc), Test testZeroArg2
Antworten: 6
Zugriffe: 713

Re: Assignment 3, Task 2 (MultiArgFLAEPreproc), Test testZeroArg2

Well, using an explicit Scala placeholder probably won't work well here, either because Scala misunderstands it as a function definition (in your case, Scala thinks you want to write a syntactic short form of "(x) => { App([...], x) }"), or because the compiler would probably end up inserting "null"...
von Talaron
21. Nov 2016 21:44
Forum: Archiv
Thema: Assignment 3, Task 2 (MultiArgFLAEPreproc), Test testZeroArg2
Antworten: 6
Zugriffe: 713

Re: Assignment 3, Task 2 (MultiArgFLAEPreproc), Test testZeroArg2

Don't worry, this has happened to the best of us. I hope you still learned something and I'm looking forward to giving you full score for your solution. :D
von Talaron
21. Nov 2016 21:39
Forum: Archiv
Thema: Assignment 03 task 4: "First Class vs. First Order [FAE]"
Antworten: 3
Zugriffe: 622

Re: Assignment 03 task 4: "First Class vs. First Order [FAE]"

I actually answered that already with my code snippet as it contained def subst(expr: FAE, substId: Symbol, value: FAE): FAE = ... So let me return the question: Did we ever show you a substitution-based interpreter with dynamic scoping? :wink: By the way if your code is a good example, you can sure...
von Talaron
21. Nov 2016 13:27
Forum: Archiv
Thema: Assignment 3, Task 2 (MultiArgFLAEPreproc), Test testZeroArg2
Antworten: 6
Zugriffe: 713

Re: Assignment 3, Task 2 (MultiArgFLAEPreproc), Test testZeroArg2

Did you definitely use '_ (starts with a single quotation mark and no space in between, to make it a symbol) instead of _ ? Please also make sure you don't confuse it with ´ or ` (the accent symbols). Scala can definitely handle the '_ symbol as any other symbol!
von Talaron
20. Nov 2016 22:54
Forum: Archiv
Thema: Assignment 03 task 4: "First Class vs. First Order [FAE]"
Antworten: 3
Zugriffe: 622

Re: Assignment 03 task 4: "First Class vs. First Order [FAE]"

You don't have to worry about that "extends MultiArgFAE" part at all. It's just the name of the wrapper trait containing the FAE implementation, similar to the "object Solution" itself. If it helps your understanding, or you want to puzzle the necessary pieces together in your IDE, the internally us...
von Talaron
17. Nov 2016 23:38
Forum: Archiv
Thema: Publish source code
Antworten: 3
Zugriffe: 550

Re: Publish source code

I'm having a lot of issues with WebLab; I'm aware that the system is not administered by TU Darmstadt, so I won't go into detailled bug descriptions or irritating design decisions here If you actually have serious issues, the place to post them is the official bug-tracker website . I guess the deve...
von Talaron
16. Nov 2016 00:44
Forum: Archiv
Thema: Group Exercise 3: Scope, Dynamic vs Static
Antworten: 5
Zugriffe: 863

Re: Group Exercise 3: Scope, Dynamic vs Static

I also do not see, how it could make a difference. On page 29 of the PLAI book it is written "Because we agreed that environments are only an alternate implementation strategy for substitution—and in particular, that the language’s meaning should not change—". So i guess, maybe we found no differen...

Zur erweiterten Suche