Title: Mixing unnamed and named slot values in a chunk (pattern.py feature or bug?) · Issue #14 · CarletonCognitiveModelingLab/python_actr · GitHub
Open Graph Title: Mixing unnamed and named slot values in a chunk (pattern.py feature or bug?) · Issue #14 · CarletonCognitiveModelingLab/python_actr
X Title: Mixing unnamed and named slot values in a chunk (pattern.py feature or bug?) · Issue #14 · CarletonCognitiveModelingLab/python_actr
Description: Having a chunk with mixed slot syntax raises a PatternException only when the unnamed slot comes after the named slot (e.g., isa:animal bird raises an exception) but not when the unnamed slot precedes a named one (e.g., bird isa:animal i...
Open Graph Description: Having a chunk with mixed slot syntax raises a PatternException only when the unnamed slot comes after the named slot (e.g., isa:animal bird raises an exception) but not when the unnamed slot prece...
X Description: Having a chunk with mixed slot syntax raises a PatternException only when the unnamed slot comes after the named slot (e.g., isa:animal bird raises an exception) but not when the unnamed slot prece...
Opengraph URL: https://github.com/CarletonCognitiveModelingLab/python_actr/issues/14
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mixing unnamed and named slot values in a chunk (pattern.py feature or bug?)","articleBody":"Having a chunk with mixed slot syntax raises a PatternException only when the unnamed slot comes after the named slot (e.g., `isa:animal bird` raises an exception) but not when the unnamed slot precedes a named one (e.g., `bird isa:animal` is currently legal). \r\n\r\nIs this expected behaviour? The PatternException error message (`\"Found unnamed slot '%s' after named slot in pattern '%s'\"`) explicitly forbids the former use case but I have not encountered suggestions anywhere in documentation/tutorials that mixed syntax within chunks should be used -- OTOH, mixing syntax across different chunks is well-documented!","author":{"url":"https://github.com/ren-oz","@type":"Person","name":"ren-oz"},"datePublished":"2022-03-15T00:44:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/14/python_actr/issues/14"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:94246fca-e2f5-56bf-9f39-1c3533b5791c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84A8:39F7A9:2645E36:30EFCF1:69801B48 |
| html-safe-nonce | 6ab06a193baee32ea5625aa647206c03796f0ea561c31b5abcf599751cbb82a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEE4OjM5RjdBOToyNjQ1RTM2OjMwRUZDRjE6Njk4MDFCNDgiLCJ2aXNpdG9yX2lkIjoiNzk3NzUxNjkyOTMxNTI0ODk2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c49a1694934a2c279e298d29dcde74af6f2dfa0e2c51097177c94cd45f65518f |
| hovercard-subject-tag | issue:1169056857 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/CarletonCognitiveModelingLab/python_actr/14/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ce645fe84d423cc1117b1c73037068195c58f60b55b577582e653b1346e11f5c/CarletonCognitiveModelingLab/python_actr/issues/14 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ce645fe84d423cc1117b1c73037068195c58f60b55b577582e653b1346e11f5c/CarletonCognitiveModelingLab/python_actr/issues/14 |
| og:image:alt | Having a chunk with mixed slot syntax raises a PatternException only when the unnamed slot comes after the named slot (e.g., isa:animal bird raises an exception) but not when the unnamed slot prece... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ren-oz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/CarletonCognitiveModelingLab/python_actr git https://github.com/CarletonCognitiveModelingLab/python_actr.git |
| octolytics-dimension-user_id | 6578142 |
| octolytics-dimension-user_login | CarletonCognitiveModelingLab |
| octolytics-dimension-repository_id | 432934233 |
| octolytics-dimension-repository_nwo | CarletonCognitiveModelingLab/python_actr |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 432934233 |
| octolytics-dimension-repository_network_root_nwo | CarletonCognitiveModelingLab/python_actr |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width