Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

ParsedBoxWrapper's in packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115410] ParsedBoxWrapper's in packages
  • From: Yaroslav Bulatov <yaroslavvb at gmail.com>
  • Date: Mon, 10 Jan 2011 02:39:10 -0500 (EST)

I'm trying to turn my notebooks into stand-alone packages and I'm
running into problems with Notation package. In particular, I'm using
Notation package and InfixNotation, and when I save notebook as a
package, I get "ParsedBoxWrapper"'s and definitions using infix
notation fail to match, for example.

InfixNotation[ParsedBoxWrapper["\[Element]"], MyElement]
sum[a_ \[Element] list_, expr_] := ...
sum[a_\[Element] {1,2,3},a]

This fails to match when in .m file, but works fine in .nb file. My
question is -- how should I package "sum" so that it matches correctly
both in packages and in notebooks?


  • Prev by Date: Re: Summed Area Table / Integral Image
  • Next by Date: Re: Clip[] doesn't work as expected
  • Previous by thread: Re: PDE system solving
  • Next by thread: Re: ParsedBoxWrapper's in packages