[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1439: Add switch to csi to set initial module
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1439: Add switch to csi to set initial module |
Date: |
Wed, 24 Jan 2018 20:43:09 -0000 |
#1439: Add switch to csi to set initial module
------------------------------------------+--------------------------
Reporter: evhan | Owner:
Type: enhancement | Status: new
Priority: not urgent at all | Milestone: someday
Component: core tools | Version: 5.0
Resolution: | Keywords: csi, modules
Estimated difficulty: medium |
------------------------------------------+--------------------------
Comment (by evhan):
Replying to [comment:1 mario]:
> Isn't it {{{-R}}}?
{{{-R}}} just loads an extension, it doesn't switch the evaluation
context.
Replying to [comment:2 ckeen]:
> Well you could call the ##sys#switch-module with -e as a workaround...
except that this does not work as expected. Maybe expose the top level
command procedure for ,m is the way to go.
Exposing a procedure for use with {{{-e}}} would be an option, except that
using {{{-e}}} will make csi behave in batch style rather than
interactively. So, that wouldn't be all we need to add this feature, but
it could be a start.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1439#comment:3>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.