Skip to content

Horizontal frame layout #208

Open
Open

Description

@skogsbaer

When using the visualization, the frames are stacked horizontally. cc @simonroeschhso

Image

Code:

from wypp import *

type OnOff = Literal['on', 'off']

def test(x: OnOff):
    pass

# test('blub')

@record
class Point:
    x: int
    y: int

p = Point(1, 2)
print(p)

def factorial(n: int) -> int:
    if n == 0:
        return 1
    else:
        return n * factorial(n - 1)

print(factorial(3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions