All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and is auto-generated using ./scripts/build-CHANGES/build-CHANGES.reb
Alternate ChangeLogs:
-module(dp383). | |
-export([same_necklace/2, repeats/1, bonus2/0, test_examples/0]). | |
% | |
% see - https://www.reddit.com/r/dailyprogrammer/comments/ffxabb/20200309_challenge_383_easy_necklace_matching/ | |
same_necklace(A, B) when length(A) =/= length(B) -> false; | |
same_necklace(A, B) -> | |
case string:find(A ++ A, B) of |
| session data | | |
session := ZnClient new url: 'http://cloud-storage.com'. | |
"Login" | |
session path: '/login'; | |
formAt: 'email' put: 'jom'; | |
formAt: 'password' put: 'mypass'; | |
post. |
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and is auto-generated using ./scripts/build-CHANGES/build-CHANGES.reb
Alternate ChangeLogs:
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and is auto-generated using ./scripts/build-CHANGES/build-CHANGES.reb
Alternate ChangeLogs:
see: https://github.com/r3n/reboldocs/wiki/User-and-Console
This documents the changes to User & Console experience in Ren/C branch of Rebol 3.
This is Rebol's REPL (Read-Eval-Print-Loop). Simply running Rebol from command-line without any options will start the console:
On Rebol 2 this points to user home directory (on Linux/OSX this is get-env 'HOME
). On r3 this is currently set to where the r3 executable lives.
As it stands we should rename system/options/home
to make it clear this is where executable lives and avoid confusing with $HOME. See %rebol.r
We can then reclaim system/options/home
to replicate R2 behaviour (if we like?)
" Vim syntax file | |
" Language: Rebol | |
" Maintainer: Mike Williams <[email protected]> | |
" Filenames: *.r | |
" Last Change: 2001 May 09 | |
" URL: N/A | |
" Changes-by: Barry Walsh <[email protected]> | |
" Last updated: 17-May-2013 |
Rebol [ | |
title: "example REPL skin config" | |
date: 30-Mar-2017 | |
version: 0.0.1 | |
] | |
;; shortcuts I like! | |
q: :quit | |
?: :help |
>> double: lambda [? * 2] | |
>> double 2 | |
== 4 | |
>> double: lambda [? + ?] | |
>> double 4 | |
== 8 | |
>> add2: lambda [?1 + ?2] | |
>> add2 2 4 |