Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about miranda

Read more about miranda

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - miranda

Difficulty of implementing `case` expressions in a template-instantiation evaluator for a lazy functional language?

I'm following "Implementing functional languages: a tutorial" by SPJ, and I'm stuck on Exercise 2.18 (page 70), reproduced below. This is in the chapter about a template-instantiation evalua...
test-img

Jonathan Lam

haskell

switch-statement

lazy-evaluation

template-instantiation

miranda

Votes: 0

Answers: 1

Latest Answer

I think I figured it out while I was expanding on my reasoning in the question. I'll post here for posterity, but if someone has a more understandable explanation or is able to correct me I'll be happ...
test-img

Jonathan Lam

Canonical name for Iseq from "Implementing Functional Languages: a tutorial"

In Simon Peyton Jones's "Implementing Functional Languages: a tutorial", a data structure for efficient string building called Iseq, also referred to as iseq and iseqRep. This can be found b...
test-img

Jonathan Lam

serialization

miranda

Votes: 0

Answers: 0

test-img

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved