﻿namespace Mages.Repl.Functions
{
    using System;

    sealed class ReplObject
    {
        public String Read()
        {
            return Console.ReadLine();
        }

        public void Write(String str)
        {
            Console.Write(str);
        }

        public void WriteLine(String str)
        {
            Console.WriteLine(str);
        }
    }
}

﻿namespace Mages.Repl.Functions
{
    using Mages.Core.Runtime;
    using System;

    sealed class ReplObject
    {
        public String Read()
        {
            return Console.ReadLine();
        }

        public void Write(Object value)
        {
            var str = Stringify.This(value);
            Console.Write(str);
        }

        public void WriteLine(Object value)
        {
            var str = Stringify.This(value);
            Console.WriteLine(str);
        }
    }
}

Write arbitrary content to the repl
Write arbitrary content to the repl
