Exercise/Challenge 10.  Write a cheating adverb that circumvents the Jolf
rules in [0] for monadic fixed tacit verbs.  The cheating adverb takes any
pro-verb contender (with a proper linear representation) with a token score
greater than seven as its argument and produces a derived solution with a
lower score.  As usual, bonus points for a tacit solution and extra bonus
points for a fixed tacit solution.


For example, given a solution  q [1], with a score greater than 7,

   v=. q cheating

   scr=: #@;:@(5!:5)
   assert </ scr ;: 'v q'
   scr ;: 'v'
7

   assert (v -: q)8

Notes

[0] [Jprogramming] Jolf  Louis de Forcrand
    http://www.jsoftware.com/pipermail/programming/2016-August/045619.html

[1] [Jprogramming] Jolf  Louis de Forcrand
    http://www.jsoftware.com/pipermail/programming/2016-August/045620.html

  ____                    _   _
 / ___|   _ __     ___   (_) | |   ___   _ __
 \___ \  | '_ \   / _ \  | | | |  / _ \ | '__|
  ___) | | |_) | | (_) | | | | | |  __/ | |     _   _   _
 |____/  | .__/   \___/  |_| |_|  \___| |_|    (_) (_) (_)
         |_|









   NB. Run (e.g., (0!:0)@:<'...') the Wicked Tacit Toolkit script here [0]

   cheating=. (5!:5) o < o ":f.adv (&(apply f.))

Spoiler Note

[0] [Jprogramming] Tacit Toolkit (was dyadic J)
    http://www.jsoftware.com/pipermail/programming/2015-December/043757.html






On Sun, Mar 13, 2016 at 10:59 PM, Jose Mario Quintana <
[email protected]> wrote:

> Welcome to the Adverbial (and Conjunctional) Tacit Jymnasium :)
>
> Orthodox and wicked routines will be practiced here for those interested
> in developing adverbial (and conjunctional) tacit muscles.  Official
> interpreters will be the standard equipment; however, Unbox, Jx, and other
> J interpreters (including Golden Age J interpreters), as well as Toolkits ,
> see for example [0], and alike (e.g., the tacit translator), are in general
> more than acceptable although occasionally some restrictions might be
> imposed aiming to develop certain muscles.  Since adverbial (and
> conjunctional) tacit writing can (following two closely related approaches)
> be reduced to verbal tacit writing, this is also a place to exercise verbal
> tacit muscles.  In addition, some adverbs (and conjunctions) which will be
> eventually shown here can provide general support for producing tacit
> verbs, adverbs and conjunctions.
>
> Instructors will describe an exercise and, unless otherwise specified in
> advance, will be prepared to show at least one way to perform it if patrons
> (including other instructors) have not performed the exercise after a
> reasonable time; alright, they have bragging rights either way ;)  The
> exercises would typically involve producing adverbs with bonus points for
> producing fixed versions of the adverbs and their products.  Exercises are
> not required to be brand new.  Given credit to the originators of certain
> techniques is not necessary (but you know who you are and bragging is
> allowed).  Spoiler alerts by instructors and patrons will be appreciated.
>
> Instructors (Dan, Thomas et al. are you listening?), not to mention
> patrons (including beginners), are all very welcome here.  How long will
> the Jym remain open?  Indefinitely, as long as there enough patrons and
> instructors or we are kicked out of here.
>
> Let us start with a few exercises with different degrees of difficulty
> (feel free to ask any questions just be patient with me, sometimes I
> disappear for a few days):
>
>
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to